summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-03-11 07:30:21 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2013-03-11 07:30:21 (GMT)
commitaf8838f4430cec7ba36caf3ce419a5205451c02a (patch)
treedca3f98c2011d5032c6d97effb9fa063e9ff4039 /Doc/library
parent42a541bd490fbf8eb9f4bf0399f3411b5f3e5d87 (diff)
downloadcpython-af8838f4430cec7ba36caf3ce419a5205451c02a.zip
cpython-af8838f4430cec7ba36caf3ce419a5205451c02a.tar.gz
cpython-af8838f4430cec7ba36caf3ce419a5205451c02a.tar.bz2
#17351: remove "object" inheritance from docs. Patch by Phil Elson.
Diffstat (limited to 'Doc/library')
-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 0d8f61c..99f8335 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -317,7 +317,7 @@ are always available. They are listed here in alphabetical order.
['Struct', '__builtins__', '__doc__', '__file__', '__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()