diff options
author | Georg Brandl <georg@python.org> | 2006-02-17 11:29:04 +0000 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2006-02-17 11:29:04 +0000 |
commit | b86a54f395f734d5e7f24c6ac14225c5b77dcc1f (patch) | |
tree | b08edb7d13e3bff1885ad918b815b274ab55c068 /Lib/gopherlib.py | |
parent | b56230b30d1dbdd3bbfe54f10a90e7090940a560 (diff) | |
download | cpython-git-b86a54f395f734d5e7f24c6ac14225c5b77dcc1f.tar.gz |
Add deprecation warning to modules deprecated since 2000.
Diffstat (limited to 'Lib/gopherlib.py')
-rw-r--r-- | Lib/gopherlib.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/gopherlib.py b/Lib/gopherlib.py index 01eab0a3d9..226eda6e98 100644 --- a/Lib/gopherlib.py +++ b/Lib/gopherlib.py @@ -2,6 +2,9 @@ __all__ = ["send_selector","send_query"] +import warnings +warnings.warn("the gopherlib module is deprecated", DeprecationWarning) + # Default selector, host and port DEF_SELECTOR = '1/' DEF_HOST = 'gopher.micro.umn.edu' |