[issue44754] Documentation for pop in Built-in Types

2021-07-28 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, Dennis! ✨  ✨ -- nosy: +lukasz.langa resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10, Python 3.11, Python 3.8 ___ Python tracker

[issue44754] Documentation for pop in Built-in Types

2021-07-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +25947 pull_request: https://github.com/python/cpython/pull/27414 ___ Python tracker ___

[issue44754] Documentation for pop in Built-in Types

2021-07-28 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +25945 pull_request: https://github.com/python/cpython/pull/27412 ___ Python tracker

[issue44754] Documentation for pop in Built-in Types

2021-07-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +25946 pull_request: https://github.com/python/cpython/pull/27413 ___ Python tracker ___

[issue44754] Documentation for pop in Built-in Types

2021-07-27 Thread Dennis Sweeney
Change by Dennis Sweeney : -- keywords: +patch pull_requests: +25931 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27398 ___ Python tracker ___

[issue44754] Documentation for pop in Built-in Types

2021-07-27 Thread Dennis Sweeney
Dennis Sweeney added the comment: The [square brackets] are used to denote *optional* arguments throughout the documentation. A tutorial page (https://docs.python.org/3/tutorial/controlflow.html#id1) has this to say: list.pop([i]) Remove the item at the given position in the list,

[issue44754] Documentation for pop in Built-in Types

2021-07-27 Thread Mark Gluzman
New submission from Mark Gluzman : Python documentation: v.3.9.6 The Python Standard Library >> Built-in Types >> Mutable Sequence Types The table says that 'pop' operation should be written as s.pop([i]) The right way to do it is s.pop(i) -- assignee: docs@python components: