Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
f972b042
Commit
f972b042
authored
Jul 21, 2010
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
provide 'complex' type as Builtin.complex_type
parent
dc087ecc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
Cython/Compiler/Builtin.py
Cython/Compiler/Builtin.py
+2
-1
No files found.
Cython/Compiler/Builtin.py
View file @
f972b042
...
@@ -415,7 +415,7 @@ def init_builtins():
...
@@ -415,7 +415,7 @@ def init_builtins():
init_builtin_structs
()
init_builtin_structs
()
global
list_type
,
tuple_type
,
dict_type
,
set_type
,
frozenset_type
global
list_type
,
tuple_type
,
dict_type
,
set_type
,
frozenset_type
global
bytes_type
,
str_type
,
unicode_type
global
bytes_type
,
str_type
,
unicode_type
global
float_type
,
bool_type
,
type_type
global
float_type
,
bool_type
,
type_type
,
complex_type
type_type
=
builtin_scope
.
lookup
(
'type'
).
type
type_type
=
builtin_scope
.
lookup
(
'type'
).
type
list_type
=
builtin_scope
.
lookup
(
'list'
).
type
list_type
=
builtin_scope
.
lookup
(
'list'
).
type
tuple_type
=
builtin_scope
.
lookup
(
'tuple'
).
type
tuple_type
=
builtin_scope
.
lookup
(
'tuple'
).
type
...
@@ -427,5 +427,6 @@ def init_builtins():
...
@@ -427,5 +427,6 @@ def init_builtins():
unicode_type
=
builtin_scope
.
lookup
(
'unicode'
).
type
unicode_type
=
builtin_scope
.
lookup
(
'unicode'
).
type
float_type
=
builtin_scope
.
lookup
(
'float'
).
type
float_type
=
builtin_scope
.
lookup
(
'float'
).
type
bool_type
=
builtin_scope
.
lookup
(
'bool'
).
type
bool_type
=
builtin_scope
.
lookup
(
'bool'
).
type
complex_type
=
builtin_scope
.
lookup
(
'complex'
).
type
init_builtins
()
init_builtins
()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment