Dirk Mueller
3c42b0194b
* Handle a single apostrophe more gracefully. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-inflect?expand=0&rev=23
17 lines
359 B
Diff
17 lines
359 B
Diff
---
|
|
inflect/compat/py38.py | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
--- a/inflect/compat/py38.py
|
|
+++ b/inflect/compat/py38.py
|
|
@@ -1,7 +1,7 @@
|
|
import sys
|
|
|
|
|
|
-if sys.version_info >= (3, 9):
|
|
+try:
|
|
from typing import Annotated
|
|
-else: # pragma: no cover
|
|
+except ImportError:
|
|
from typing_extensions import Annotated # noqa: F401
|