Skip to content

Commit 6e9b465

Browse files
committed
Include the word deprecated in the warning msg
1 parent 558cc1e commit 6e9b465

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/diffpy/utils/scattering_objects/diffraction_objects.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@
1919

2020

2121
class Diffraction_object:
22-
"""FIXME: Add class docstring.
22+
"""A class to represent and manipulate data associated with diffraction experiments.
2323
2424
.. deprecated:: 3.5.1
25-
`Diffraction_object` will be removed in diffpy.utils 3.6.0, it is replaced by
25+
`Diffraction_object` is deprecated and will be removed in diffpy.utils 3.6.0. It is replaced by
2626
`DiffractionObject` to follow the class naming convention.
2727
"""
2828

2929
warnings.warn(
30-
"Diffraction_object` will be removed in diffpy.utils 3.6.0, it is replaced by "
30+
"Diffraction_object` is deprecated and will be removed in diffpy.utils 3.6.0, It is replaced by "
3131
"DiffractionObject` to follow the class naming convention.",
3232
DeprecationWarning,
3333
stacklevel=2,

0 commit comments

Comments
 (0)