Skip to content

Commit 6b9b09c

Browse files
committed
os: add constants for WNOHANG, SIGTERM and SIGKILL
1 parent 656239e commit 6b9b09c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

os/os/__init__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@
2121
O_APPEND = 0o0002000
2222
O_NONBLOCK = 0o0004000
2323

24+
WNOHANG = 0x00000001
25+
26+
SIGKILL = 9
27+
SIGTERM = 15
28+
2429
error = OSError
2530
name = "posix"
2631
sep = "/"

0 commit comments

Comments
 (0)