mirror of
https://github.com/python/cpython.git
synced 2025-08-23 10:16:01 +00:00
Raise statement normalization in Lib/.
This commit is contained in:
parent
8b3febef2f
commit
ce36ad8a46
80 changed files with 502 additions and 530 deletions
|
@ -394,7 +394,7 @@ class Telnet:
|
|||
buf = self.cookedq
|
||||
self.cookedq = ''
|
||||
if not buf and self.eof and not self.rawq:
|
||||
raise EOFError, 'telnet connection closed'
|
||||
raise EOFError('telnet connection closed')
|
||||
return buf
|
||||
|
||||
def read_sb_data(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue