summaryrefslogtreecommitdiffstats
path: root/Doc/library/functions.rst
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-03-11 07:42:40 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2013-03-11 07:42:40 (GMT)
commitc9cfcf1e6cd946492be949533de906785d690069 (patch)
treef73cd5e3c77ea2b11f21b4be57020bda53cc6a6e /Doc/library/functions.rst
parent3300878d8c9ca454c78a7222e6b91f75cafbfa49 (diff)
parentaf8838f4430cec7ba36caf3ce419a5205451c02a (diff)
downloadcpython-c9cfcf1e6cd946492be949533de906785d690069.zip
cpython-c9cfcf1e6cd946492be949533de906785d690069.tar.gz
cpython-c9cfcf1e6cd946492be949533de906785d690069.tar.bz2
#17351: merge with 3.2.
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 07765ce..f1e6dc2 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()