Skip to content

Commit a3ca6c3

Browse files
committed
fix: typos in docstring
1 parent 820cd8b commit a3ca6c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/diffpy/utils/_deprecator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def deprecated(message, *, category=DeprecationWarning, stacklevel=1):
2020
2121
.. code-block:: python
2222
23-
from diffpy._deprecations import deprecated, deprecation_message
23+
from diffpy.utils._deprecator import deprecated, deprecation_message
2424
2525
deprecation_warning = build_deprecation_message("diffpy.utils",
2626
"old_function",
@@ -44,7 +44,7 @@ def new_function(x, y):
4444
4545
.. code-block:: python
4646
47-
from diffpy._deprecations import deprecated, deprecation_message
47+
from diffpy.utils._deprecator import deprecated, deprecation_message
4848
4949
deprecation_warning = build_deprecation_message("diffpy.utils",
5050
"OldAtom",

0 commit comments

Comments
 (0)