diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2013-03-11 07:43:25 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2013-03-11 07:43:25 (GMT) |
commit | a41fb4be5bd6ecb931f53c86f255e7e9d185bbcb (patch) | |
tree | 560fe3d427882d25669b8c8b548cedafaf514fb6 /Doc/library/functions.rst | |
parent | 05cd03aa0dd53bdee72ff3a996873341d0e6ba19 (diff) | |
parent | c9cfcf1e6cd946492be949533de906785d690069 (diff) | |
download | cpython-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.rst | 2 |
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() |