Skip to content
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

gh-112205: Update textio module to use @getter as possible. #113095

Merged
merged 1 commit into from
Dec 14, 2023

Conversation

corona10
Copy link
Member

@corona10 corona10 commented Dec 14, 2023

@corona10
Copy link
Member Author

corona10 commented Dec 14, 2023

static PyGetSetDef textiobase_getset[] = {
{"encoding", (getter)textiobase_encoding_get, NULL, textiobase_encoding_doc},
{"newlines", (getter)textiobase_newlines_get, NULL, textiobase_newlines_doc},
{"errors", (getter)textiobase_errors_get, NULL, textiobase_errors_doc},
{NULL}
};

Will be updated with separate PR: Need AC changes :)

@corona10 corona10 enabled auto-merge (squash) December 14, 2023 10:13
@corona10 corona10 merged commit 23a5711 into python:main Dec 14, 2023
35 checks passed
@corona10 corona10 deleted the gh-112205-text branch December 15, 2023 02:48
corona10 added a commit to corona10/cpython that referenced this pull request Dec 15, 2023
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants