diff options
author | Walter Dörwald <walter@livinglogic.de> | 2004-02-12 17:35:32 +0000 |
---|---|---|
committer | Walter Dörwald <walter@livinglogic.de> | 2004-02-12 17:35:32 +0000 |
commit | 582176023213a5bdaf76a19977f7bb6d508694e9 (patch) | |
tree | a5f480092a35a71571f1d24bcd10255e1b93e904 /Lib/imaplib.py | |
parent | cdef0ac4f0dc828ee205ffa2999592f5fa6f70d3 (diff) | |
download | cpython-582176023213a5bdaf76a19977f7bb6d508694e9.tar.gz |
Replace backticks with repr() or "%r"
From SF patch #852334.
Diffstat (limited to 'Lib/imaplib.py')
-rw-r--r-- | Lib/imaplib.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/imaplib.py b/Lib/imaplib.py index 80049828ed..0112ddc484 100644 --- a/Lib/imaplib.py +++ b/Lib/imaplib.py @@ -192,7 +192,7 @@ class IMAP4: if __debug__: if self.debug >= 3: - self._mesg('CAPABILITIES: %s' % `self.capabilities`) + self._mesg('CAPABILITIES: %r' % (self.capabilities,)) for version in AllowedVersions: if not version in self.capabilities: @@ -972,7 +972,7 @@ class IMAP4: self.mo = cre.match(s) if __debug__: if self.mo is not None and self.debug >= 5: - self._mesg("\tmatched r'%s' => %s" % (cre.pattern, `self.mo.groups()`)) + self._mesg("\tmatched r'%s' => %r" % (cre.pattern, self.mo.groups())) return self.mo is not None @@ -1416,7 +1416,7 @@ if __name__ == '__main__': if M.state == 'AUTH': test_seq1 = test_seq1[1:] # Login not needed M._mesg('PROTOCOL_VERSION = %s' % M.PROTOCOL_VERSION) - M._mesg('CAPABILITIES = %s' % `M.capabilities`) + M._mesg('CAPABILITIES = %r' % (M.capabilities,)) for cmd,args in test_seq1: run(cmd, args) |