mirror of
https://github.com/jazzband/contextlib2.git
synced 2026-04-10 01:21:01 +00:00
Remove unused variable
This commit is contained in:
parent
2a90978e86
commit
ec50a1184d
1 changed files with 0 additions and 5 deletions
|
|
@ -16,11 +16,6 @@ cl2_check_traceback_details = (_py_ver >= (3, 10))
|
|||
|
||||
# CM protocol checking switched to TypeError in Python 3.11
|
||||
cl2_cm_api_exc_type = TypeError if (_py_ver >= (3, 11)) else AttributeError
|
||||
cl2_cm_api_exc_text_legacy = {
|
||||
"": "has no attribute",
|
||||
"__enter__": "__enter__",
|
||||
"__exit__": "__exit__",
|
||||
}
|
||||
if cl2_cm_api_exc_type is AttributeError:
|
||||
cl2_cm_api_exc_text_sync = {
|
||||
"": "has no attribute",
|
||||
|
|
|
|||
Loading…
Reference in a new issue