Kaydet (Commit) cf5394f8 authored tarafından Guido van Rossum's avatar Guido van Rossum

rename debug() to set_debuglevel()

üst 189f8fb8
......@@ -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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment