Skip to content

Commit fc95748

Browse files
jorisvandenbosschestangirala
authored andcommitted
DEPR: correct deprecation message for datetools (pandas-dev#16202)
1 parent 7feefd1 commit fc95748

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pandas/util/depr_module.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,7 @@ def __getattr__(self, name):
8383
FutureWarning, stacklevel=2)
8484
else:
8585
if deprmodto is None:
86-
deprmodto = "{modname}.{name}".format(
87-
modname=obj.__module__, name=name)
86+
deprmodto = obj.__module__
8887
# The object is actually located in another module.
8988
warnings.warn(
9089
"{deprmod}.{name} is deprecated. Please use "

0 commit comments

Comments
 (0)