| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉 |
Sorry, something went wrong.
In theory something like this might work, but I think it's better to just add a comment to the top of the file: @deprecated("...")
def __getattr__(name: str) -> Never: ...Also this won't really generate a deprecation message, so not worth it. |
Sorry, something went wrong.
What do you think about adding @deprecated for each module function? (this module have only 2 functions) of course with sys.version_info check |
Sorry, something went wrong.
That sounds like a good idea. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
I don't know if we have a way to show that module is deprecated, but nturl2path is deprecated: python/cpython#131432