Commit 88fc6617 authored by Raymond Hettinger's avatar Raymond Hettinger

Cleanup example

parent 690d4ae8
......@@ -306,11 +306,10 @@ available. They are listed here in alphabetical order.
'unpack', 'unpack_from']
>>> class Shape(object):
def __dir__(self):
return ['area', 'perimter', 'location']
>>> f = Shape()
>>> dir(f)
['area', 'perimter', 'location']
return ['area', 'perimeter', 'location']
>>> s = Shape()
>>> dir(s)
['area', 'perimeter', 'location']
.. note::
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment