mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-21 03:11:16 +08:00
Fix some problems introduced by recent commits. (#1905)
This commit is contained in:
committed by
Jelle Zijlstra
parent
d3a9650fa1
commit
7ae2f25216
@@ -947,11 +947,10 @@ class OSError(Exception):
|
||||
filename = ... # type: Any
|
||||
if sys.version_info >= (3, 4):
|
||||
filename2 = ... # type: Any
|
||||
if sys.platform == 'win32':
|
||||
winerror = 0
|
||||
IOError = OSError
|
||||
EnvironmentError = OSError
|
||||
WindowsError = OSError
|
||||
class WindowsError(OSError):
|
||||
winerror = ... # type: int
|
||||
class LookupError(Exception): ...
|
||||
class RuntimeError(Exception): ...
|
||||
class ValueError(Exception): ...
|
||||
|
||||
@@ -12,7 +12,7 @@ from multiprocessing.context import (
|
||||
ProcessError, BufferTooShort, TimeoutError, AuthenticationError)
|
||||
from multiprocessing.managers import SyncManager
|
||||
from multiprocessing.process import current_process as current_process
|
||||
from multiprocessing.queues import Queue, SimpleQueue, JoinableQueue
|
||||
from multiprocessing.queues import Queue as Queue, SimpleQueue as SimpleQueue, JoinableQueue as JoinableQueue
|
||||
import sys
|
||||
|
||||
# N.B. The functions below are generated at runtime by partially applying
|
||||
|
||||
Reference in New Issue
Block a user