We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CPython apparently does this:
class Spam: def eggs(__some_kwarg:int=None): print(__some_kwarg) >>> Spam.eggs(10) 10 >>> Spam.eggs(_Spam__some_kwarg=10) 10 class Foo: def bar(self, *, __kw:'anno'='default'): pass >>> Foo.bar.__annotations__ {'_Foo__kw': 'anno'} >>> Foo.bar.__kwdefaults__ {'_Foo__kw': 'default'}
http://bugs.python.org/issue20625
Migrated from http://trac.cython.org/ticket/826
The text was updated successfully, but these errors were encountered:
Nominating as release blocker since it's a bit of a breaking change (although not very like to occur in practice).
Sorry, something went wrong.
abeb082
No branches or pull requests
CPython apparently does this:
http://bugs.python.org/issue20625
Migrated from http://trac.cython.org/ticket/826
The text was updated successfully, but these errors were encountered: