| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Sorry, something went wrong.
Documentation build overview3 files changed ± download.html ± library/typing.html ± whatsnew/changelog.html |
Sorry, something went wrong.
There was a problem hiding this comment.
I see a good point in adding this parameter :)
Sorry, something went wrong.
| ns, | ||
| ns, | ||
| ) | ||
| self.assertEqual(ns["TA"].__module__, "x.y") |
There was a problem hiding this comment.
Please, test repr with the custom module, we want to be sure that there will no regression there.
Sorry, something went wrong.
There was a problem hiding this comment.
Added!
Sorry, something went wrong.
Add an optional keyword-only `module` argument to `typing.TypeAliasType` that overrides the `__module__` attribute inferred by frame introspection. When omitted, behavior is unchanged. closes python#149132.
| Back | FazBrowse Home | New Git URL |
Add an optional keyword-only module argument to
typing.TypeAliasType that overrides the __module__ attribute inferred by frame introspection. When omitted, behavior is unchanged.
closes #149132.