summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/gopherlib.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/gopherlib.py b/Lib/gopherlib.py
index 226eda6..d789161 100644
--- a/Lib/gopherlib.py
+++ b/Lib/gopherlib.py
@@ -3,7 +3,8 @@
__all__ = ["send_selector","send_query"]
import warnings
-warnings.warn("the gopherlib module is deprecated", DeprecationWarning)
+warnings.warn("the gopherlib module is deprecated", DeprecationWarning,
+ stacklevel=2)
# Default selector, host and port
DEF_SELECTOR = '1/'