Skip to content

Conversation

@erlend-aasland
Copy link
Contributor

@erlend-aaslanderlend-aasland commented Jul 20, 2023

@erlend-aaslanderlend-aasland changed the title gh-104050: Argument Clinic: Annotate BufferSeries classgh-104050: Argument Clinic: Annotate the BufferSeries classJul 20, 2023
Comment on lines 1973 to 1976
def__getitem__(
self,
i: int
) ->_TextAccumulator:

Choose a reason for hiding this comment

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

Why not write it in one line? It is still pretty short.

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

Sure; I have not yet developed a preference when it comes to annotation style :)

Copy link
Member

Choose a reason for hiding this comment

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

FWIW, I agree with Serhiy — I would probably put this all on one line — but I also don't really care much either way (life's too short to spend it arguing over code formatting preferences 😄)

Copy link
ContributorAuthor

@erlend-aaslanderlend-aaslandJul 21, 2023

Choose a reason for hiding this comment

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

(life's too short to spend it arguing over code formatting preferences 😄)

No, it isn't! 😆

@erlend-aasland
Copy link
ContributorAuthor

On hold until #106972 has landed.

Copy link
Member

@AlexWaygoodAlexWaygood left a comment

Choose a reason for hiding this comment

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

Thanks!

@erlend-aaslanderlend-aasland merged commit c5adf26 into python:mainJul 22, 2023
@erlend-aasland
Copy link
ContributorAuthor

Thanks for the reviews!

@erlend-aaslanderlend-aasland deleted the clinic/annotate-buffer-series branch July 22, 2023 10:49
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@erlend-aasland@serhiy-storchaka@AlexWaygood@bedevere-bot