Documentation
Location: 3.14.6 Documentation » The Python Standard Library » Python Runtime Services » annotationlib — Functionality for introspecting annotations
Under: "Creating a custom callable annotate function"
"Optional: A tuple of the function’s positional defaults __kwdefaults__, if the function represented by __code__ uses any positional defaults.
Optional: A dict of the function’s keyword defaults __defaults__, if the function represented by __code__ uses any keyword defaults."
The keywords " __kwdefaults__" and "__defaults__" are misused obviously.
Linked PRs
Documentation
Location: 3.14.6 Documentation » The Python Standard Library » Python Runtime Services » annotationlib — Functionality for introspecting annotations
Under: "Creating a custom callable annotate function"
"Optional: A tuple of the function’s positional defaults
__kwdefaults__, if the function represented by__code__uses any positional defaults.Optional: A dict of the function’s keyword defaults
__defaults__, if the function represented by__code__uses any keyword defaults."The keywords "
__kwdefaults__" and "__defaults__" are misused obviously.Linked PRs