Commit 297abadc authored by Guido van Rossum's avatar Guido van Rossum

The change of type(None).__name__ from 'None' to 'NoneType' broke this

test in a trivial way.  Fixed.
parent 8098ddbe
...@@ -26,10 +26,10 @@ f() keywords must be strings ...@@ -26,10 +26,10 @@ f() keywords must be strings
h() got an unexpected keyword argument 'e' h() got an unexpected keyword argument 'e'
h() argument after * must be a sequence h() argument after * must be a sequence
dir() argument after * must be a sequence dir() argument after * must be a sequence
None object argument after * must be a sequence NoneType object argument after * must be a sequence
h() argument after ** must be a dictionary h() argument after ** must be a dictionary
dir() argument after ** must be a dictionary dir() argument after ** must be a dictionary
None object argument after ** must be a dictionary NoneType object argument after ** must be a dictionary
dir() got multiple values for keyword argument 'b' dir() got multiple values for keyword argument 'b'
3 512 1 3 512 1
3 3
......
...@@ -780,7 +780,7 @@ SyntaxError: invalid syntax ...@@ -780,7 +780,7 @@ SyntaxError: invalid syntax
... yield 1 ... yield 1
... ...
>>> type(f()) >>> type(f())
<type 'None'> <type 'NoneType'>
>>> def f(): >>> def f():
... if 0: ... if 0:
...@@ -790,7 +790,7 @@ SyntaxError: invalid syntax ...@@ -790,7 +790,7 @@ SyntaxError: invalid syntax
... def f(self): ... def f(self):
... yield 2 ... yield 2
>>> type(f()) >>> type(f())
<type 'None'> <type 'NoneType'>
>>> def f(): >>> def f():
... if 0: ... if 0:
......
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