Hi,

  It seems that help() doesn't work on instances in py3k.

  Is this what this ticket is about?
  http://bugs.python.org/issue1883


Python 3.0a4+ (py3k:62469M, Apr 23 2008, 20:46:05)
[GCC 4.0.1 (Apple Inc. build 5465)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> class C:
...     """Bla"""
...
>>> help(C)
Help on class C in module __main__:

class C(builtins.object)
 |  Bla
 |
 |  Data descriptors defined here:
 |
 |  __dict__
 |      dictionary for instance variables (if defined)
 |
 |  __weakref__
 |      list of weak references to the object (if defined)

>>> c = C()
>>> help(c)
Help on C in module __main__:

<__main__.C object at 0x4a8ab8>


  help(instance) should give the same answer as help(Class), right?

--
Humberto Diógenes
http://humberto.digi.com.br

_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to