#17351: merge with 3.3.

This commit is contained in:
Ezio Melotti 2013-03-11 09:43:25 +02:00
commit a41fb4be5b
7 changed files with 23 additions and 22 deletions

View file

@ -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()