Skip to content

Commit 606767f

Browse files
Apply suggestion from @krassowski
Co-authored-by: Michał Krassowski <5832902+krassowski@users.noreply.github.com>
1 parent 4edefdf commit 606767f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

IPython/core/guarded_eval.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -500,6 +500,8 @@ def guarded_eval(code: str, context: EvaluationContext):
500500
}
501501

502502
GENERIC_CONTAINER_TYPES = (dict, list, set, tuple, frozenset)
503+
504+
503505
class ImpersonatingDuck:
504506
"""A dummy class used to create objects of other classes without calling their ``__init__``"""
505507

0 commit comments

Comments
 (0)