subprocess: Use Cython DEFs for constants

This commit is contained in:
Yury Selivanov 2016-06-09 14:42:29 -04:00
parent 37bf83e36b
commit 6f93a8131d
1 changed files with 4 additions and 4 deletions

View File

@ -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