Skip to content

Typo in Macro/C/Python Type Table #112671

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
ecsalina opened this issue Dec 3, 2023 · 1 comment · Fixed by #112715
Closed

Typo in Macro/C/Python Type Table #112671

ecsalina opened this issue Dec 3, 2023 · 1 comment · Fixed by #112715
Labels
docs Documentation in the Doc dir easy

Comments

@ecsalina
Copy link

ecsalina commented Dec 3, 2023

The (*) footnote to the table in this section of the documentation has a typo. It says:

with Py_T_STRING_INLINE the string is stored directly in the structure

but it seems like it should be:

with Py_T_STRING_INPLACE the string is stored directly in the structure

based on what the (*) is referencing in the table. A quick search of the CPython repo shows no results for Py_T_STRING_INLINE (except for this documentation) and many results for Py_T_STRING_INPLACE. This bug would be resolved by substituting Py_T_STRING_INLINE with Py_T_STRING_INPLACE.

Linked PRs

@ecsalina ecsalina added the docs Documentation in the Doc dir label Dec 3, 2023
@serhiy-storchaka
Copy link
Member

Thank you for your report @ecsalina. Do you mind to create a PR?

serhiy-storchaka pushed a commit that referenced this issue Dec 4, 2023
Replace Py_T_STRING_INLINE with Py_T_STRING_INPLACE
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Dec 4, 2023
Replace Py_T_STRING_INLINE with Py_T_STRING_INPLACE
(cherry picked from commit a8ce149)

Co-authored-by: Amioplk <[email protected]>
serhiy-storchaka pushed a commit that referenced this issue Dec 4, 2023
Replace Py_T_STRING_INLINE with Py_T_STRING_INPLACE
(cherry picked from commit a8ce149)

Co-authored-by: Amioplk <[email protected]>
aisk pushed a commit to aisk/cpython that referenced this issue Feb 11, 2024
Replace Py_T_STRING_INLINE with Py_T_STRING_INPLACE
Glyphack pushed a commit to Glyphack/cpython that referenced this issue Sep 2, 2024
Replace Py_T_STRING_INLINE with Py_T_STRING_INPLACE
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 easy
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants