diff --git a/pep-0446.txt b/pep-0446.txt index 0d64fd5d4..e5bd3ac09 100644 --- a/pep-0446.txt +++ b/pep-0446.txt @@ -497,22 +497,22 @@ New functions available on all platforms: * ``os.get_inheritable(fd: int)``: return ``True`` if the file descriptor can be inherited by child processes, ``False`` otherwise. -* ``os.set_inheritable(fd: int, inheritable: bool)``: clear or set the +* ``os.set_inheritable(fd: int, inheritable: bool)``: set the inheritable flag of the specified file descriptor. New functions only available on Windows: * ``os.get_handle_inheritable(handle: int)``: return ``True`` if the handle can be inherited by child processes, ``False`` otherwise. -* ``os.set_handle_inheritable(handle: int, inheritable: bool)``: clear - or set the inheritable flag of the specified handle. +* ``os.set_handle_inheritable(handle: int, inheritable: bool)``: + set the inheritable flag of the specified handle. New methods: * ``socket.socket.get_inheritable()``: return ``True`` if the socket can be inherited by child processes, ``False`` otherwise. -* ``socket.socket.set_inheritable(inheritable: bool)``: clear - or set the inheritable flag of the specified socket. +* ``socket.socket.set_inheritable(inheritable: bool)``: + set the inheritable flag of the specified socket. Other Changes