refactor: remove redundant comments and docstrings (#6527)
* refactor: remove redundant comments and docstrings * fix(signal): annotate async context manager as a generator
This commit is contained in:
1 parent
cb3ba45317
commit
a4d2430140
922 files changed
+406
-7738
No files matched your search
@@ -41,7 +41,7 @@ def _read(fd: int, timeout: float) -> bytes:
|
||||
try:
|
||||
chunk = os.read(fd, 65_536)
|
||||
except OSError as exc:
|
||||
if exc.errno == errno.EIO: # PTY slave closed.
|
||||
if exc.errno == errno.EIO:
|
||||
break
|
||||
raise
|
||||
if not chunk:
|
||||
|
||||
Reference in new issue
Block a user