From 6f93a8131d2eeae1c9ff614d3b93be22af6e843a Mon Sep 17 00:00:00 2001 From: Yury Selivanov Date: Thu, 9 Jun 2016 14:42:29 -0400 Subject: [PATCH] subprocess: Use Cython DEFs for constants --- uvloop/handles/process.pyx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/uvloop/handles/process.pyx b/uvloop/handles/process.pyx index fef65ed..8925f73 100644 --- a/uvloop/handles/process.pyx +++ b/uvloop/handles/process.pyx @@ -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