Skip to content

Format the Python-tokenize module and fix exit path#27935

Merged
ambv merged 1 commit intopython:mainfrom
pablogsal:tok_cleanup
Aug 25, 2021
Merged

Format the Python-tokenize module and fix exit path#27935
ambv merged 1 commit intopython:mainfrom
pablogsal:tok_cleanup

Conversation

@pablogsal
Copy link
Copy Markdown
Member

No description provided.

@pablogsal
Copy link
Copy Markdown
Member Author

pablogsal commented Aug 24, 2021

I used clang-format to get a PEP-7 consistent formatting.

@pablogsal
Copy link
Copy Markdown
Member Author

CC: @ambv

}
self->tok = PyTokenizer_FromUTF8(source, 1);
if (self->tok == NULL) {
Py_DECREF(filename);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏻

@ambv ambv merged commit 214c2e5 into python:main Aug 25, 2021
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.

4 participants