Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

textwrap: __all__ atribute missing 'dedent' function #48794

Closed
wolfdown mannequin opened this issue Dec 5, 2008 · 2 comments
Closed

textwrap: __all__ atribute missing 'dedent' function #48794

wolfdown mannequin opened this issue Dec 5, 2008 · 2 comments
Labels
extension-modules C modules in the Modules dir type-feature A feature request or enhancement

Comments

@wolfdown
Copy link
Mannequin

wolfdown mannequin commented Dec 5, 2008

BPO 4544
Nosy @birkenfeld

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2008-12-05.11:35:12.527>
created_at = <Date 2008-12-05.09:02:57.255>
labels = ['extension-modules', 'type-feature']
title = "textwrap: __all__ atribute missing 'dedent' function"
updated_at = <Date 2008-12-05.11:35:12.470>
user = 'https://bugs.python.org/wolfdown'

bugs.python.org fields:

activity = <Date 2008-12-05.11:35:12.470>
actor = 'georg.brandl'
assignee = 'none'
closed = True
closed_date = <Date 2008-12-05.11:35:12.527>
closer = 'georg.brandl'
components = ['Extension Modules']
creation = <Date 2008-12-05.09:02:57.255>
creator = 'wolfdown'
dependencies = []
files = []
hgrepos = []
issue_num = 4544
keywords = []
message_count = 2.0
messages = ['76986', '77004']
nosy_count = 2.0
nosy_names = ['georg.brandl', 'wolfdown']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = None
status = 'closed'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue4544'
versions = ['Python 2.5']

@wolfdown
Copy link
Mannequin Author

wolfdown mannequin commented Dec 5, 2008

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.)

@wolfdown wolfdown mannequin added extension-modules C modules in the Modules dir type-feature A feature request or enhancement labels Dec 5, 2008
@wolfdown wolfdown mannequin changed the title textwrap: __all__ atribute missing 'dedent' functino textwrap: __all__ atribute missing 'dedent' function Dec 5, 2008
@birkenfeld
Copy link
Member

Fixed in r67575, will be ported to all branches.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
extension-modules C modules in the Modules dir type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

1 participant