Message107556
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. |
|
Date |
User |
Action |
Args |
2010-06-11 15:32:38 | belopolsky | set | recipients:
+ belopolsky, mark.dickinson |
2010-06-11 15:32:37 | belopolsky | set | messageid: <1276270357.95.0.610857929794.issue8973@psf.upfronthosting.co.za> |
2010-06-11 15:32:36 | belopolsky | link | issue8973 messages |
2010-06-11 15:32:36 | belopolsky | create | |
|