projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bdaee3
)
set()/frozenset() also return their own instance
author
Stefan Behnel
<scoder@users.berlios.de>
Sun, 6 Dec 2009 22:31:20 +0000
(23:31 +0100)
committer
Stefan Behnel
<scoder@users.berlios.de>
Sun, 6 Dec 2009 22:31:20 +0000
(23:31 +0100)
Cython/Compiler/Builtin.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Builtin.py
b/Cython/Compiler/Builtin.py
index 37bd6228a59d5cbb2d4c7149c6c88a8f396f9112..c39258dca3727eb24b6775b9b883c448b1d3f9ac 100644
(file)
--- a/
Cython/Compiler/Builtin.py
+++ b/
Cython/Compiler/Builtin.py
@@
-124,9
+124,8
@@
types_that_construct_their_instance = (
# some builtin types do not always return an instance of
# themselves - these do:
'type', 'bool', 'long', 'float', 'bytes', 'unicode', 'tuple', 'list',
- 'dict', 'file',
+ 'dict', 'file',
'set', 'frozenset'
# 'str', # only in Py3.x
- # 'set', 'frozenset' # only in Py2.4+
)