Skip to content

Commit 6f93a81

Browse files
committed
subprocess: Use Cython DEFs for constants
1 parent 37bf83e commit 6f93a81

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

uvloop/handles/process.pyx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -306,10 +306,10 @@ cdef class UVProcess(UVHandle):
306306
self._close()
307307

308308

309-
_CALL_PIPE_DATA_RECEIVED = 0
310-
_CALL_PIPE_CONNECTION_LOST = 1
311-
_CALL_PROCESS_EXITED = 2
312-
_CALL_CONNECTION_LOST = 3
309+
DEF _CALL_PIPE_DATA_RECEIVED = 0
310+
DEF _CALL_PIPE_CONNECTION_LOST = 1
311+
DEF _CALL_PROCESS_EXITED = 2
312+
DEF _CALL_CONNECTION_LOST = 3
313313

314314

315315
@cython.no_gc_clear

0 commit comments

Comments
 (0)