This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author belopolsky
Recipients belopolsky, mark.dickinson
Date 2010-06-11.15:32:36
SpamBayes Score 0.036315233
Marked as misclassified No
Message-id <1276270357.95.0.610857929794.issue8973@psf.upfronthosting.co.za>
In-reply-to
Content
Module level pack, unpack etc. methods have similar functionality with Struct instance methods, but docs are different.  The immediate issue is the lack of signature in the module level methods' docstrings.


$ ./python.exe -m pydoc struct.Struct.pack
Help on method_descriptor in struct.Struct:

struct.Struct.pack = pack(...)
    S.pack(v1, v2, ...) -> bytes
    
    Return a bytes containing values v1, v2, ... packed according to this
    Struct's format. See struct.__doc__ for more on format strings.

and

$ ./python.exe -m pydoc struct.pack
Help on built-in function pack in struct:

struct.pack = pack(...)
    Return bytes containing values v1, v2, ... packed according to fmt.
History
Date User Action Args
2010-06-11 15:32:38belopolskysetrecipients: + belopolsky, mark.dickinson
2010-06-11 15:32:37belopolskysetmessageid: <1276270357.95.0.610857929794.issue8973@psf.upfronthosting.co.za>
2010-06-11 15:32:36belopolskylinkissue8973 messages
2010-06-11 15:32:36belopolskycreate