[issue8973] Inconsistent docstrings in struct module

SilentGhost report at bugs.python.org
Mon Jan 31 12:50:15 CET 2011

SilentGhost <ghost.adh at gmail.com> added the comment:

r81947 introduced this issue:

>>> from struct import *
>>> pack_into
Traceback (most recent call last):
  File "<pyshell#1>", line 1, in <module>
NameError: name 'pack_into' is not defined

struct.__all__ has a duplicate entry and misses pack_into.

Patch is attached, test passes. Seems quite innocent to me, could it make into 3.2, George?

nosy: +SilentGhost, georg.brandl
status: closed -> open
Added file: http://bugs.python.org/file20625/struct.py.diff

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list