[issue46092] Fix/update missing parameters in function signatures for Built-in Functions documentation.

2021-12-17 Thread Vivek Vashist
Vivek Vashist added the comment: Noticed that new removeprefix() and removesuffix() functions that were added in 3.9 have slash notation added in Built-in Types document. str.removeprefix(prefix, /) str.removesuffix(suffix, /) https://docs.python.org/3/library/stdtypes.html#str.removeprefix

[issue46092] Fix/update missing parameters in function signatures for Built-in Functions documentation.

2021-12-16 Thread Alex Waygood
Alex Waygood added the comment: It concerns me that help() gives very different results for some of these functions than the signature you'll find in the documentation. I think a beginner would find that highly confusing. If the view is that the slash notation should not be added to this pie

[issue46092] Fix/update missing parameters in function signatures for Built-in Functions documentation.

2021-12-15 Thread Raymond Hettinger
Raymond Hettinger added the comment: My understanding is that we're holding off on adding the slash notation to the main docs. The reason is that they are mostly unintelligible to the average user. -- nosy: +rhettinger ___ Python tracker

[issue46092] Fix/update missing parameters in function signatures for Built-in Functions documentation.

2021-12-15 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +AlexWaygood versions: +Python 3.11, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailin

[issue46092] Fix/update missing parameters in function signatures for Built-in Functions documentation.

2021-12-15 Thread Vivek Vashist
Vivek Vashist added the comment: PR: https://github.com/python/cpython/pull/30128 -- ___ Python tracker ___ ___ Python-bugs-list ma

[issue46092] Fix/update missing parameters in function signatures for Built-in Functions documentation.

2021-12-15 Thread Vivek Vashist
Change by Vivek Vashist : -- keywords: +patch pull_requests: +28347 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30128 ___ Python tracker ___ __

[issue46092] Fix/update missing parameters in function signatures for Built-in Functions documentation.

2021-12-15 Thread Vivek Vashist
New submission from Vivek Vashist : Previous issue: https://github.com/python/cpython/pull/30113#issuecomment-994642493 As noted/pointed by Alex - I went through all the Built-in Functions and updated/fixed the missing parameters. I'll raise a PR shortly. -- assignee: docs@python co