This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: "width defaults to 70." in textwrap.wrap documentation is repetitive.
Type: enhancement Stage: resolved
Components: Documentation Versions: Python 3.11, Python 3.10, Python 3.9
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, jack__d, lukasz.langa, miss-islington
Priority: normal Keywords: patch

Created on 2021-07-28 14:56 by jack__d, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 27423 merged jack__d, 2021-07-28 14:57
PR 26999 jack__d, 2021-07-28 14:58
PR 27426 merged miss-islington, 2021-07-28 15:24
PR 27427 merged miss-islington, 2021-07-28 15:24
Messages (4)
msg398392 - (view) Author: Jack DeVries (jack__d) * Date: 2021-07-28 14:56
The phrase "width defaults to 70." in the documentation for textwrap.wrap is repetitive, because that information is already communicated in the function signature.

The desire to fix this came up this discussion around this PR:
https://github.com/python/cpython/pull/26999#discussion_r678322870

I will attach a PR momentarily.
msg398398 - (view) Author: Łukasz Langa (lukasz.langa) * (Python committer) Date: 2021-07-28 15:24
New changeset cb1d76f10ab33dddd0dbd64e6506bf7c065d499b by Jack DeVries in branch 'main':
bpo-44763: [doc] remove repetitive sentence from textwrap.wrap (GH-27423)
https://github.com/python/cpython/commit/cb1d76f10ab33dddd0dbd64e6506bf7c065d499b
msg398406 - (view) Author: Łukasz Langa (lukasz.langa) * (Python committer) Date: 2021-07-28 17:31
New changeset 369d1480b7d51b65c08664ecd63c970fb0d573e1 by Miss Islington (bot) in branch '3.10':
bpo-44763: [doc] remove repetitive sentence from textwrap.wrap (GH-27423) (GH-27426)
https://github.com/python/cpython/commit/369d1480b7d51b65c08664ecd63c970fb0d573e1
msg398407 - (view) Author: Łukasz Langa (lukasz.langa) * (Python committer) Date: 2021-07-28 17:31
New changeset 9337c60ba8da897f74bddef072d12093cc8c82c5 by Miss Islington (bot) in branch '3.9':
bpo-44763: [doc] remove repetitive sentence from textwrap.wrap (GH-27423) (GH-27427)
https://github.com/python/cpython/commit/9337c60ba8da897f74bddef072d12093cc8c82c5
History
Date User Action Args
2022-04-11 14:59:48adminsetgithub: 88926
2021-07-28 17:31:45lukasz.langasetstatus: open -> closed
stage: patch review -> resolved
resolution: fixed
versions: + Python 3.9, Python 3.10
2021-07-28 17:31:22lukasz.langasetmessages: + msg398407
2021-07-28 17:31:04lukasz.langasetmessages: + msg398406
2021-07-28 15:24:42miss-islingtonsetpull_requests: + pull_request25956
2021-07-28 15:24:37lukasz.langasetnosy: + lukasz.langa
messages: + msg398398
2021-07-28 15:24:37miss-islingtonsetnosy: + miss-islington
pull_requests: + pull_request25955
2021-07-28 14:58:28jack__dsetpull_requests: + pull_request25952
2021-07-28 14:57:33jack__dsetkeywords: + patch
stage: patch review
pull_requests: + pull_request25951
2021-07-28 14:56:18jack__dcreate