mirror of https://github.com/MagicStack/uvloop.git
subprocess: Use Cython DEFs for constants
This commit is contained in:
parent
37bf83e36b
commit
6f93a8131d
|
@ -306,10 +306,10 @@ cdef class UVProcess(UVHandle):
|
|||
self._close()
|
||||
|
||||
|
||||
_CALL_PIPE_DATA_RECEIVED = 0
|
||||
_CALL_PIPE_CONNECTION_LOST = 1
|
||||
_CALL_PROCESS_EXITED = 2
|
||||
_CALL_CONNECTION_LOST = 3
|
||||
DEF _CALL_PIPE_DATA_RECEIVED = 0
|
||||
DEF _CALL_PIPE_CONNECTION_LOST = 1
|
||||
DEF _CALL_PROCESS_EXITED = 2
|
||||
DEF _CALL_CONNECTION_LOST = 3
|
||||
|
||||
|
||||
@cython.no_gc_clear
|
||||
|
|
Loading…
Reference in New Issue