Skip to content

bpo-43451: Render inspect function arguments one-per-line when they exceed a maximum length - #24802

Closed
dw wants to merge 2 commits into
python:mainfrom
dw:fix-pydoc-wrap
Closed

dw wants to merge 2 commits into
python:mainfrom
dw:fix-pydoc-wrap

Conversation

@dw

@dw dw commented Mar 9, 2021 •

Copy link
Copy Markdown
Contributor

This is a proposed fix for pydoc argument formatting in the presence of complex type annotations, see issue 43451 for a description.

Rendering of pydoc aiohttp.client.ClientSession, before (with truncation):

image

After (with truncation):

image

Before (with wrapping):

image

After (with wrapping):

image

https://bugs.python.org/issue43451

@github-actions

github-actions Bot commented Apr 9, 2021

Copy link
Copy Markdown

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions Bot added the stale Stale PR or inactive for long period of time. label Apr 9, 2021
@github-actions github-actions Bot removed the stale Stale PR or inactive for long period of time. label Aug 5, 2022
@dw dw closed this Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants