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

@corona10 corona10 commented Dec 14, 2023

Copy link
Copy Markdown
Member
@corona10

corona10 commented Dec 14, 2023

Copy link
Copy Markdown
Member Author

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
@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