commit | cf5394f88ec2b736d23ed2bbaaa05604414efb19 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Thu Mar 30 10:42:34 1995 +0000 |
committer | Guido van Rossum <guido@python.org> | Thu Mar 30 10:42:34 1995 +0000 |
tree | b3c9849b73ee1039c040362f4b8b186814a40c89 | |
parent | 189f8fb8f72331e6b8160fdcbd0245d88baa90cc [diff] [blame] |
rename debug() to set_debuglevel()
diff --git a/Lib/nntplib.py b/Lib/nntplib.py index fafef57..8d0d6af 100644 --- a/Lib/nntplib.py +++ b/Lib/nntplib.py
@@ -83,8 +83,9 @@ # 1: print commands and responses but not body text etc. # 2: also print raw lines read and sent before stripping CR/LF - def debug(self, level): + def set_debuglevel(self, level): self.debugging = level + debug = set_debuglevel # Internal: send one line to the server, appending CRLF def putline(self, line):