Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update Lib/pdb.py
Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
  • Loading branch information
gaogaotiantian and jaraco authored Mar 28, 2024
commit 2ad53187c7b942a0d4f70ca670c651c00193deaf
2 changes: 1 addition & 1 deletion Lib/pdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def filename(self):

@property
def code(self):
# We need to open the file each time because the file may be modified
# Open the file each time because the file may be modified
with io.open_code(self._target) as fp:
return f"exec(compile({fp.read()!r}, {self._target!r}, 'exec'))"

Expand Down