Skip to content

Conversation

@fchapoton
Copy link
Contributor

using the code RET, so mainly about the return in methods and functions

@culler
Copy link
Member

culler commented Jun 2, 2025

Are the suggested type hints supported by all versions of Python that we support?

@fchapoton
Copy link
Contributor Author

ah, good question indeed. What is the oldest python you support ?

@fchapoton
Copy link
Contributor Author

I have undone the "-> list" annotation, that indeed requires a somewhat recent python. Some "-> bool" annotations were already present in the code, so I kept the new ones.

@fchapoton
Copy link
Contributor Author

the annotation "-> bool" is accepted since at least python 3.5

@fchapoton
Copy link
Contributor Author

@culler This should be good to go now.

@fchapoton
Copy link
Contributor Author

ping ?

@fchapoton
Copy link
Contributor Author

@NathanDunfield : I am a bit sad to see my pull requests being neglected. I am just trying to help a little bit by doing basic house-cleaning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants