mirror of
https://github.com/python/cpython.git
synced 2025-08-27 20:25:18 +00:00
No need to import exceptions, they are builtins
This commit is contained in:
parent
6203196c7c
commit
4ce69a5b06
3 changed files with 4 additions and 7 deletions
|
@ -46,7 +46,6 @@ many of the difficult problems for you, making the task of building
|
|||
sophisticated high-performance network servers and clients a snap.
|
||||
"""
|
||||
|
||||
import exceptions
|
||||
import select
|
||||
import socket
|
||||
import sys
|
||||
|
@ -61,7 +60,7 @@ try:
|
|||
except NameError:
|
||||
socket_map = {}
|
||||
|
||||
class ExitNow(exceptions.Exception):
|
||||
class ExitNow(Exception):
|
||||
pass
|
||||
|
||||
def read(obj):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue