mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +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
|
|
@ -2345,7 +2345,7 @@ by the built-in function :func:`type`. There are no special operations on
|
|||
types. The standard module :mod:`types` defines names for all standard built-in
|
||||
types.
|
||||
|
||||
Types are written like this: ``<type 'int'>``.
|
||||
Types are written like this: ``<class 'int'>``.
|
||||
|
||||
|
||||
.. _bltin-null-object:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue