| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
…endar-difflib # Conflicts: # stdlib/@tests/stubtest_allowlists/py315.txt
|
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉 |
Sorry, something went wrong.
| standalone_month_name: Sequence[str] | ||
| standalone_month_abbr: Sequence[str] |
There was a problem hiding this comment.
The situation here is more complicated. There are instances of _localized_month, which isn't a full Sequence, but has other format field. Same actually for month_name and month_abbr. day_name and day_abbr are not instances of _localized_day. But the latter has been true since at least 3.10, so I'm fine with using Sequence in this PR, although I would prepare a followup, changing these fields.
Another thing I noticed, although that's probably legacy and possibly also out of scope: Through __getattr__, this module has two constants "January" (equaling 1), and "February" (equaling 2).
Sorry, something went wrong.
There was a problem hiding this comment.
Thanks, I'll prepare a followup for this.
Regarding the __getattr__, seems better to keep those out of the stub unless someone really needs them.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Summary
Relevant report entries