[New-bugs-announce] [issue4544] textwrap: __all__ atribute missing 'dedent' functino

Casey McGinty report at bugs.python.org
Fri Dec 5 10:02:58 CET 2008

New submission from Casey McGinty <casey.mcginty at gmail.com>:

>From textwrap.py: 46863 2006-06-11 19:42:51Z tim.peters

The __all__ define in this module is missing the helper function 'dedent'. 

This causes pydoc to not the list the function correctly.

Secondly, it also prevents 'dedent' from being imported when using 'from
textwrap import *'  (Yes, yes, I know this should never be done. Hence
why it is probably never noticed by anyone.)

components: Extension Modules
messages: 76986
nosy: wolfdown
severity: normal
status: open
title: textwrap: __all__ atribute missing 'dedent' functino
type: feature request
versions: Python 2.5

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list