Skip to content

array.typecodes is incorrectly documented as a class attribute #98657

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jsbueno-blockfi opened this issue Oct 25, 2022 · 1 comment
Closed
Labels
docs Documentation in the Doc dir

Comments

@jsbueno-blockfi
Copy link

jsbueno-blockfi commented Oct 25, 2022

Documentation

https://docs.python.org/3/library/array.html#array.typecodes

Is a module attribute, but the documents put it intermingled with the methods and attributes of the array.array class instead.
It looks like this definition was intended to be before the class array paragraph that starts the documentation for the class (https://docs.python.org/3/library/array.html#array.array)

Linked PRs

@jsbueno-blockfi jsbueno-blockfi added the docs Documentation in the Doc dir label Oct 25, 2022
sobolevn added a commit to sobolevn/cpython that referenced this issue Oct 26, 2022
nanjekyejoannah pushed a commit that referenced this issue Oct 28, 2022
* gh-98657: [docs] `array.typecodes` is a module-level attribute

* Update array.rst
@nanjekyejoannah
Copy link
Contributor

This has been handled in #98729 . Please reopen if anything else comes up.

gvanrossum pushed a commit to gvanrossum/cpython that referenced this issue Oct 28, 2022
…ython#98729)

* pythongh-98657: [docs] `array.typecodes` is a module-level attribute

* Update array.rst
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Feb 1, 2023
…ythonGH-98729)

* pythongh-98657: [docs] `array.typecodes` is a module-level attribute

* Update array.rst
(cherry picked from commit c144e57)

Co-authored-by: Nikita Sobolev <[email protected]>
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Feb 1, 2023
…ythonGH-98729)

* pythongh-98657: [docs] `array.typecodes` is a module-level attribute

* Update array.rst
(cherry picked from commit c144e57)

Co-authored-by: Nikita Sobolev <[email protected]>
miss-islington added a commit that referenced this issue Feb 1, 2023
)

* gh-98657: [docs] `array.typecodes` is a module-level attribute

* Update array.rst
(cherry picked from commit c144e57)

Co-authored-by: Nikita Sobolev <[email protected]>
miss-islington added a commit that referenced this issue Feb 1, 2023
)

* gh-98657: [docs] `array.typecodes` is a module-level attribute

* Update array.rst
(cherry picked from commit c144e57)

Co-authored-by: Nikita Sobolev <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir
Projects
None yet
Development

No branches or pull requests

2 participants