Skip to content

pydoc doesnt show 'from module import identifier' in the docs #47215

Closed

Description

@peterpuk
mannequin
BPO 2966
Nosy @birkenfeld, @benjaminp

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 2009-03-29.12:57:24.732>
created_at = <Date 2008-05-25.10:21:40.711>
labels = ['extension-modules']
title = "pydoc doesnt show 'from module import identifier' in the docs"
updated_at = <Date 2009-03-29.12:57:24.731>
user = 'https://bugs.python.org/peterpuk'

bugs.python.org fields:

activity = <Date 2009-03-29.12:57:24.731>
actor = 'georg.brandl'
assignee = 'none'
closed = True
closed_date = <Date 2009-03-29.12:57:24.732>
closer = 'georg.brandl'
components = ['Extension Modules']
creation = <Date 2008-05-25.10:21:40.711>
creator = 'peter.puk'
dependencies = []
files = []
hgrepos = []
issue_num = 2966
keywords = []
message_count = 5.0
messages = ['67340', '67343', '67352', '67379', '84385']
nosy_count = 4.0
nosy_names = ['georg.brandl', 'benjamin.peterson', 'bgolemon', 'peter.puk']
pr_nums = []
priority = 'normal'
resolution = 'wont fix'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue2966'
versions = ['Python 2.5']

Activity

  1. peterpuk commented on May 25, 2008

    peterpukmannequin
    MannequinAuthor

    When you try to make a doc from your programm woth pydoc, it doesnt show
    the the identifiers in the modules section. when i put 'from module
    import identifier' in my code

  2. added
    extension-modules
    on May 25, 2008
  3. birkenfeld commented on May 25, 2008

    @birkenfeld
    Member

    Can you expand a bit? What exactly do you expect in the generated
    documentation that is not there?

  4. benjaminp commented on May 25, 2008

    @benjaminp
    Contributor

    I think he means that if you use "from m import x" to import part of
    module interface, "x" is not shown in the generated doc.

  5. bgolemon commented on May 26, 2008

    bgolemonmannequin
    Mannequin

    I feel like that's the correct behavior, since x should be documented in
    m. In a module you can override this by doing '__all__ = ['x']', but I'm
    not sure there's a way in a script.

  6. birkenfeld commented on Mar 29, 2009

    @birkenfeld
    Member

    I agree.

  7. transferred this issue fromon Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    extension-modules

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions