mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
Bug #2565: The repr() of type objects now calls them 'class',
not 'type' - whether they are builtin types or not.
This commit is contained in:
parent
5a6f4585fd
commit
250ad613f3
13 changed files with 40 additions and 43 deletions
|
@ -184,7 +184,7 @@ desired. ::
|
|||
... print('x =', x)
|
||||
... print('y =', y)
|
||||
...
|
||||
<type 'Exception'>
|
||||
<class 'Exception'>
|
||||
('spam', 'eggs')
|
||||
('spam', 'eggs')
|
||||
x = spam
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue