Skip to content

pydoc removes 'self' in HTML for method docstrings with example code #57432

@CameronHayne

Description

@CameronHayne
BPO 13223
Nosy @ezio-melotti, @merwok, @skrah, @berkerpeksag
Files
  • issue13223.python3k.patch: Patch for the in-development (main) branch
  • issue13223.python2.7.patch: Patch for the 2.7 branch
  • pydoc-self.patch
  • issue13223_tests.diff
  • 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 2014-06-07.23:47:26.312>
    created_at = <Date 2011-10-19.18:59:41.803>
    labels = ['easy', 'type-bug', 'library']
    title = "pydoc removes 'self' in HTML for method docstrings with example code"
    updated_at = <Date 2014-06-21.09:08:16.981>
    user = 'https://bugs.python.org/CameronHayne'

    bugs.python.org fields:

    activity = <Date 2014-06-21.09:08:16.981>
    actor = 'neologix'
    assignee = 'none'
    closed = True
    closed_date = <Date 2014-06-07.23:47:26.312>
    closer = 'python-dev'
    components = ['Library (Lib)']
    creation = <Date 2011-10-19.18:59:41.803>
    creator = 'Cameron.Hayne'
    dependencies = []
    files = ['23801', '23802', '35525', '35695']
    hgrepos = []
    issue_num = 13223
    keywords = ['patch', 'easy']
    message_count = 10.0
    messages = ['145937', '145996', '148540', '148559', '175916', '219978', '220002', '220848', '221034', '221162']
    nosy_count = 9.0
    nosy_names = ['ezio.melotti', 'eric.araujo', 'skrah', 'neologix', 'python-dev', 'berker.peksag', 'vterron', 'Cameron.Hayne', 'shiinee']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue13223'
    versions = ['Python 2.7', 'Python 3.4', 'Python 3.5']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      easystdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions