diff options
| author | Martin v. Löwis <martin@v.loewis.de> | 2008-04-07 05:43:42 +0000 |
|---|---|---|
| committer | Martin v. Löwis <martin@v.loewis.de> | 2008-04-07 05:43:42 +0000 |
| commit | 8ac64c88ff09e313c1da98df56956e53370502b6 (patch) | |
| tree | 0d1b14fff04d16378716c8061e52b02a3d86f397 /Doc/tutorial/errors.rst | |
| parent | 33e43393dfe1f39d605d0f4db4f909612bbe794e (diff) | |
| download | cpython-8ac64c88ff09e313c1da98df56956e53370502b6.tar.gz | |
Bug #2565: The repr() of type objects now calls them 'class',
not 'type' - whether they are builtin types or not.
Diffstat (limited to 'Doc/tutorial/errors.rst')
| -rw-r--r-- | Doc/tutorial/errors.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tutorial/errors.rst b/Doc/tutorial/errors.rst index 5c652a9871..cedffd5ba6 100644 --- a/Doc/tutorial/errors.rst +++ b/Doc/tutorial/errors.rst @@ -184,7 +184,7 @@ desired. :: ... print('x =', x) ... print('y =', y) ... - <type 'Exception'> + <class 'Exception'> ('spam', 'eggs') ('spam', 'eggs') x = spam |
