commit: e6fbf4d07c5070939f82dae84985886a50281fe1
Author: Brian Harring <ferringb <AT> gmail <DOT> com>
AuthorDate: Sun Dec 7 22:23:10 2025 +0000
Commit: Brian Harring <ferringb <AT> gmail <DOT> com>
CommitDate: Sun Dec 7 22:23:10 2025 +0000
URL:
https://gitweb.gentoo.org/proj/pkgcore/snakeoil.git/commit/?id=e6fbf4d0
chore: docstring cleanup
Signed-off-by: Brian Harring <ferringb <AT> gmail.com>
src/snakeoil/deprecation.py | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/src/snakeoil/deprecation.py b/src/snakeoil/deprecation.py
index 3ea52a1..ff27e79 100644
--- a/src/snakeoil/deprecation.py
+++ b/src/snakeoil/deprecation.py
@@ -116,12 +116,7 @@ class Registry:
stacklevel=1,
**kwargs,
):
- """Decorate a callable with a deprecation notice, registering it in
the internal list of deprecations
-
- :param stacklevel: Unlike warnings.deprecated, we account for our own
internal stack additions.
- Whatever you pass for this value will be adjusted for our internal
frames. If you need to reach
- one frame up, just pass 1, else 0.
- """
+ """Decorate a callable with a deprecation notice, registering it in
the internal list of deprecations"""
def f(functor):
if not self.is_enabled: