[Python-Dev] slightly misleading Popen.poll() docs (original) (raw)

Nick Coghlan ncoghlan at gmail.com
Thu Dec 6 05:26:36 CET 2012


On Thu, Dec 6, 2012 at 4:55 AM, Antoine Pitrou <solipsis at pitrou.net> wrote:

On Thu, 06 Dec 2012 04:15:08 +1100 Steven D'Aprano <steve at pearwood.info> wrote: > Possibly because it is 4am here, I had to read this three times to understand it. > How is this instead? > > """ > Check if child process has terminated. Returns None while the child is still running, > any non-None value means that the child has terminated. In either case, the return > value is also available from the instance's returncode attribute. > """

I like this wording.

Steven's proposed wording sounds good to me, too.

Cheers, Nick.

-- Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20121206/97dd705c/attachment-0001.html>



More information about the Python-Dev mailing list