summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHernan Grecco <hgrecco@gmail.com>2023-05-16 17:00:38 -0300
committerHernan Grecco <hgrecco@gmail.com>2023-05-16 17:00:38 -0300
commitcd4a8447333310e3fe1e7e5227cf89fecbf3a3da (patch)
treeacce177727289fb87ed06bd15cda4ccbb52b1b35
parent6d6679752aa2371d37fe2ec7a41bddae92e25709 (diff)
downloadpint-cd4a8447333310e3fe1e7e5227cf89fecbf3a3da.tar.gz
Fix import in docs
-rw-r--r--docs/advanced/custom-registry-class.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/advanced/custom-registry-class.rst b/docs/advanced/custom-registry-class.rst
index 75e1a99..c80b3c5 100644
--- a/docs/advanced/custom-registry-class.rst
+++ b/docs/advanced/custom-registry-class.rst
@@ -97,7 +97,7 @@ can specify the types of
>>> # from typing_extensions import TypeAlias # Python 3.9
>>> from typing import TypeAlias # Python 3.10+
- >>> class MyRegistry(pint.GenericUnitRegistry[MyQuantity, pint.Unit]):
+ >>> class MyRegistry(pint.registry.GenericUnitRegistry[MyQuantity, pint.Unit]):
...
... Quantity: TypeAlias = MyQuantity
... Unit: TypeAlias = MyUnit