Typing stubs for decorator
This is a PEP 561
type stub package for the decorator
package.
It can be used by type-checking tools like
mypy,
pyright,
pytype,
Pyre,
PyCharm, etc. to check code that uses decorator
. This version of
types-decorator
aims to provide accurate annotations for
decorator==5.1.*
.
This package is part of the typeshed project.
All fixes for types and metadata should be contributed there.
See the README
for more details. The source for this package can be found in the
stubs/decorator
directory.
This package was tested with
mypy 1.14.1,
pyright 1.1.389,
and pytype 2024.10.11.
It was generated from typeshed commit
57d7c4334b64856fda6f6e8f992b101ddafe2f57
.