mirror of
https://github.com/jazzband/contextlib2.git
synced 2026-03-17 14:10:25 +00:00
* sync with latest typeshed stub file (closes #54) * publish `dev/mypy.allowlist` in sdist (closes #53) * drop Python 3.7 support due to positional-only arg syntax in the updated stub file
10 lines
431 B
Text
10 lines
431 B
Text
# Deprecated APIs that never graduated to the standard library
|
|
contextlib2.ContextDecorator.refresh_cm
|
|
|
|
# stubcheck no longer complains about this one for some reason
|
|
# (but it does complain about the unused allowlist entry)
|
|
# contextlib2.ContextStack
|
|
|
|
# mypy seems to be confused by the GenericAlias compatibility hack
|
|
contextlib2.AbstractAsyncContextManager.__class_getitem__
|
|
contextlib2.AbstractContextManager.__class_getitem__
|