# Bug report ### Bug description: Run interactive cpython 3.13 with following input. ```python >>> import inspect >>> class B: pass ... >>> inspect.getsource(B) "# Important: don't add things to this module, as they will end up in the REPL's\n" ``` Instead of class code we get a piece of repl internals. ### CPython versions tested on: 3.13 ### Operating systems tested on: Windows <!-- gh-linked-prs --> ### Linked PRs * gh-126032 <!-- /gh-linked-prs -->