mirror of
https://github.com/python/cpython.git
synced 2026-04-05 03:21:05 +00:00
Merge 3.4 (asyncio)
This commit is contained in:
commit
e3e56fea2a
1 changed files with 5 additions and 2 deletions
|
|
@ -54,11 +54,14 @@ def __repr__(self):
|
|||
info = [self.__class__.__name__]
|
||||
if self._closed:
|
||||
info.append('closed')
|
||||
info.append('pid=%s' % self._pid)
|
||||
if self._pid is not None:
|
||||
info.append('pid=%s' % self._pid)
|
||||
if self._returncode is not None:
|
||||
info.append('returncode=%s' % self._returncode)
|
||||
else:
|
||||
elif self._pid is not None:
|
||||
info.append('running')
|
||||
else:
|
||||
info.append('not started')
|
||||
|
||||
stdin = self._pipes.get(0)
|
||||
if stdin is not None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue