Skip to content

Commit

Permalink
Update NEWS entry for PR.
Browse files Browse the repository at this point in the history
  • Loading branch information
devdanzin committed Oct 28, 2024
1 parent cc19746 commit 73d66c1
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
Fix :func:`inspect.getsource` to avoid fetching unrelated source code for classes defined in PyREPL.
Remove the `__file__` attribute from the `__main__` namespace created by
PyREPL, to avoid :func:`inspect.getsource` from fetching unrelated source
code for classes defined in the REPL.

0 comments on commit 73d66c1

Please sign in to comment.