summaryrefslogtreecommitdiffstats
path: root/Doc/library/functions.rst
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-03-11 07:43:25 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2013-03-11 07:43:25 (GMT)
commita41fb4be5bd6ecb931f53c86f255e7e9d185bbcb (patch)
tree560fe3d427882d25669b8c8b548cedafaf514fb6 /Doc/library/functions.rst
parent05cd03aa0dd53bdee72ff3a996873341d0e6ba19 (diff)
parentc9cfcf1e6cd946492be949533de906785d690069 (diff)
downloadcpython-a41fb4be5bd6ecb931f53c86f255e7e9d185bbcb.zip
cpython-a41fb4be5bd6ecb931f53c86f255e7e9d185bbcb.tar.gz
cpython-a41fb4be5bd6ecb931f53c86f255e7e9d185bbcb.tar.bz2
#17351: merge with 3.3.
Diffstat (limited to 'Doc/library/functions.rst')
-rw-r--r--Doc/library/functions.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index 64b46a3..7648c73 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -324,7 +324,7 @@ are always available. They are listed here in alphabetical order.
'__initializing__', '__loader__', '__name__', '__package__',
'_clearcache', 'calcsize', 'error', 'pack', 'pack_into',
'unpack', 'unpack_from']
- >>> class Shape(object):
+ >>> class Shape:
... def __dir__(self):
... return ['area', 'perimeter', 'location']
>>> s = Shape()