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

PEP 677: Format the flat_map example consistently #2230

Merged
merged 1 commit into from
Jan 12, 2022

Conversation

stroxler
Copy link
Contributor

When Pradeep reread the PEP yesterday he noticed that all of Callable[...] based versions of flat_map are spread across several lines, whereas our demonstration of the new syntax is a one-liner.

Keeping the formatting consistent helps make comparisons apples-to-apples.

@stroxler stroxler requested a review from gvanrossum as a code owner January 12, 2022 15:48
@stroxler stroxler changed the title Format the flat_map example consistently PEP 677: Format the flat_map example consistently Jan 12, 2022
Copy link
Member

@gvanrossum gvanrossum left a comment

Choose a reason for hiding this comment

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

Looks much clearer, thanks!

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.

3 participants