Skip to content

Commit

Permalink
Update spyder_kernels/customize/utils.py
Browse files Browse the repository at this point in the history
Co-authored-by: Carlos Cordoba <ccordoba12@gmail.com>
  • Loading branch information
impact27 and ccordoba12 committed Mar 13, 2024
1 parent 7d8d2d5 commit e37282c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spyder_kernels/customize/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,10 @@ def exec_encapsulate_locals(
"""
Execute by encapsulating locals if needed.
Warning:
In general, the dict returned by locals() might or might not be modified.
In this case, the encapsulated dict can not.
Notes
-----
* In general, the dict returned by locals() might or might not be modified.
In this case, the encapsulated dict can not.
"""
use_locals_hack = locals is not None and locals is not globals
if use_locals_hack:
Expand Down

0 comments on commit e37282c

Please sign in to comment.