Revert "use Type instead of type"

This reverts commit 369e709fc29d82b0d7d92009dc9c6f37c1190e65.
This commit is contained in:
Patrick Kanzler 2023-12-11 00:48:17 +01:00
parent 9a941e8746
commit e6380d1fc6

View File

@ -16,7 +16,7 @@ import warnings
from abc import ABCMeta, abstractmethod # abstract base class support from abc import ABCMeta, abstractmethod # abstract base class support
from re import match as re_match from re import match as re_match
from types import TracebackType from types import TracebackType
from typing import Any, List, Literal, Optional, Type, Union from typing import Any, List, Literal, Optional, Union
import barcode import barcode
import qrcode import qrcode
@ -1438,7 +1438,7 @@ class EscposIO:
return self return self
def __exit__( def __exit__(
self, type: Type[BaseException], value: BaseException, traceback: TracebackType self, type: type[BaseException], value: BaseException, traceback: TracebackType
) -> None: ) -> None:
"""Cut and close if configured. """Cut and close if configured.