[enh] Add a comment

This commit is contained in:
ljf (zamentur) 2021-08-14 16:41:58 +02:00 committed by GitHub
parent 2e745d2806
commit 61bc676552
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -372,6 +372,8 @@ def is_unit_operation(
for field in exclude: for field in exclude:
if field in context: if field in context:
context.pop(field, None) context.pop(field, None)
# Manage file or stream
for field, value in context.items(): for field, value in context.items():
if isinstance(value, IOBase): if isinstance(value, IOBase):
try: try: