Skip to content

Commit a37a6b3

Browse files
authored
deprecate_positional_args: remove stray print (#6934)
1 parent 98deab5 commit a37a6b3

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

xarray/util/deprecation_helpers.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,7 @@ def _decorator(f):
9292

9393
@wraps(f)
9494
def inner(*args, **kwargs):
95-
print(f"{args=}")
96-
print(f"{pos_or_kw_args=}")
9795
n_extra_args = len(args) - len(pos_or_kw_args)
98-
print(f"{n_extra_args=}")
9996
if n_extra_args > 0:
10097

10198
extra_args = ", ".join(kwonly_args[:n_extra_args])
@@ -107,10 +104,8 @@ def inner(*args, **kwargs):
107104
"",
108105
FutureWarning,
109106
)
110-
print(f"{kwargs=}")
111107

112108
kwargs.update({name: arg for name, arg in zip(pos_or_kw_args, args)})
113-
print(f"{kwargs=}")
114109

115110
return f(**kwargs)
116111

0 commit comments

Comments
 (0)