Skip to content

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

Merged
corona10 merged 1 commit into
python:mainfrom
corona10:gh-112205-text
Dec 14, 2023
Merged

gh-112205: Update textio module to use @getter as possible.#113095
corona10 merged 1 commit into
python:mainfrom
corona10:gh-112205-text

Conversation

@corona10

@corona10corona10 commented Dec 14, 2023

Copy link
Copy Markdown
Member

@corona10

corona10 commented Dec 14, 2023

Copy link
Copy Markdown
MemberAuthor

staticPyGetSetDeftextiobase_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:mainDec 14, 2023
@corona10
corona10 deleted the gh-112205-text branch December 15, 2023 02:48
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
Sign up for freeto 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

@corona10@erlend-aasland