Skip to content

Commit 6a2adc6

Browse files
committed
DEP: remove get_libdiffpy_version_info()
Replaced by `libdiffpy_version_info` object.
1 parent d2e22e6 commit 6a2adc6

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

src/diffpy/srreal/version.py

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -53,23 +53,4 @@
5353
git_sha = vd['git_sha'])
5454
del vd
5555

56-
57-
def get_libdiffpy_version_info():
58-
"""
59-
Get version data for the active libdiffpy shared library.
60-
61-
Returns
62-
-------
63-
libdiffpy_version_info
64-
a namedtuple which contains libdiffpy version data.
65-
66-
67-
.. note:: Deprecated in diffpy.srreal 1.1
68-
`libdiffpy_version_info` will be removed in diffpy.srreal 1.3.
69-
"""
70-
from warnings import warn
71-
warn("get_libdiffpy_version_info is deprecated, "
72-
"use the libdiffpy_version_info object.", DeprecationWarning)
73-
return libdiffpy_version_info
74-
7556
# End of file

0 commit comments

Comments
 (0)