We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d14c4a2 commit 3275fbeCopy full SHA for 3275fbe
pywisetransfer/deprecation.py
@@ -25,9 +25,9 @@ class deprecated:
25
@staticmethod
26
def {orig.__name__}(*args, **kwargs):
27
self._emit_warning()
28
- return orig(*args, **kwargs)
+ return orig(*args, **kwargs) # may implicitly include 'self' instance argument
29
30
-self.f = deprecated.{orig.__name__}
+self.f = deprecated.{orig.__name__} # adds a 'deprecated.' prefix to the function repr
31
""",
32
locals(),
33
)
0 commit comments