diff options
-rw-r--r-- | docs/advanced/custom-registry-class.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/advanced/custom-registry-class.rst b/docs/advanced/custom-registry-class.rst index c80b3c5..395f1b0 100644 --- a/docs/advanced/custom-registry-class.rst +++ b/docs/advanced/custom-registry-class.rst @@ -95,8 +95,8 @@ can specify the types of .. doctest:: - >>> # from typing_extensions import TypeAlias # Python 3.9 - >>> from typing import TypeAlias # Python 3.10+ + >>> from typing_extensions import TypeAlias # Python 3.9 + >>> # from typing import TypeAlias # Python 3.10+ >>> class MyRegistry(pint.registry.GenericUnitRegistry[MyQuantity, pint.Unit]): ... ... Quantity: TypeAlias = MyQuantity |