Commit d1bfd2a4 authored by Stefan Behnel's avatar Stefan Behnel

set()/frozenset() also return their own instance

parent 9bdaee37
...@@ -124,9 +124,8 @@ types_that_construct_their_instance = ( ...@@ -124,9 +124,8 @@ types_that_construct_their_instance = (
# some builtin types do not always return an instance of # some builtin types do not always return an instance of
# themselves - these do: # themselves - these do:
'type', 'bool', 'long', 'float', 'bytes', 'unicode', 'tuple', 'list', 'type', 'bool', 'long', 'float', 'bytes', 'unicode', 'tuple', 'list',
'dict', 'file', 'dict', 'file', 'set', 'frozenset'
# 'str', # only in Py3.x # 'str', # only in Py3.x
# 'set', 'frozenset' # only in Py2.4+
) )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment