# Bug report ### Bug description: Originally came up here: https://github.com/python/cpython/pull/126755#issuecomment-2471298923 To summarize, pygettext produces a warning for this code: ``` def _(x): pass ``` The reason is that it confuses the function definition with a function call. I have a PR ready. ### CPython versions tested on: CPython main branch ### Operating systems tested on: Linux <!-- gh-linked-prs --> ### Linked PRs * gh-126808 * gh-126846 * gh-126847 <!-- /gh-linked-prs -->
Bug report
Bug description:
Originally came up here: #126755 (comment)
To summarize, pygettext produces a warning for this code:
The reason is that it confuses the function definition with a function call. I have a PR ready.
CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux
Linked PRs