# Bug report Run the following program ```Python import inspect import inspect _, lineno1 = inspect.getsourcelines(inspect.currentframe()) _, lineno2 = inspect.findsource(inspect.currentframe()) print(lineno1, lineno2) ``` **Expected Result** The line numbers are expected to be 1-based, so the expected output is `1 1`. **Actual Result** The actual output is `0 0`. Related discussion: https://github.com/python/cpython/pull/103226 # Your environment - CPython versions tested on: `main` branch - Operating system and architecture: macOS <!-- gh-linked-prs --> ### Linked PRs * gh-103226 <!-- /gh-linked-prs -->