From bca9fd02fc911b7de24010a889322cb7629e327b Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Mon, 26 Aug 2013 12:01:16 +0200 Subject: [PATCH] PEP 446: avoid "clear the flag" expression --- pep-0446.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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