From: Guido van Rossum Date: Thu, 30 Mar 1995 10:42:34 +0000 (+0000) Subject: rename debug() to set_debuglevel() X-Git-Tag: v1.2~49 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cf5394f88ec2b736d23ed2bbaaa05604414efb19;p=thirdparty%2FPython%2Fcpython.git rename debug() to set_debuglevel() --- diff --git a/Lib/nntplib.py b/Lib/nntplib.py index fafef57d7cb8..8d0d6afd14ca 100644 --- a/Lib/nntplib.py +++ b/Lib/nntplib.py @@ -83,8 +83,9 @@ class NNTP: # 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):