Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Invoking 'help(...)' unexpectedly includes name of internal wrapper function. #122129

Closed
Labels
3.14bugs and security fixestype-featureA feature request or enhancement
@jayaddison

Description

@jayaddison

Bug report

Bug description:

Attempting to retrieve documentation for theurlsplit function mostly works as expected, but the first line is confusing and appears to originate from a caching wrapper applied to the function (not relevant to usage documentation).

Python3.12.4 (main,Jul152024,12:17:32) [GCC13.3.0]onlinuxType"help","copyright","credits"or"license"formoreinformation.>>>fromurllib.parseimporturlsplit>>>help(urlsplit)Helpon_lru_cache_wrapperinmoduleurllib.parse:urlsplit(url,scheme='',allow_fragments=True)...

Note: there is some existing mention of this (help and the interaction with the@lru_cache wrapper) in#88169 - if my report is a dup/invalid, please feel free to close this.

CPython versions tested on:

3.12

Operating systems tested on:

Linux

Edit: fixup: add missing statement from interpreter session.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.14bugs and security fixestype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp