# Documentation The func role's parentheses are unnecessary as Sphinx will add them to the rendered output. ```rst .. bad :func:`!locale.resetlocale()` .. good :func:`!locale.resetlocale` ``` We're introducing a new rule to the sphinx-lint ([issue](https://github.com/sphinx-contrib/sphinx-lint/issues/114) & [PR](https://github.com/sphinx-contrib/sphinx-lint/pull/115)) and, since sphinx-lint utilizes CPython Docs in the CI, we'd like to also fix the issue. ### TODO: - [x] fix on main branch - [x] backport to 3.12 - [x] backport to 3.13 <!-- gh-linked-prs --> ### Linked PRs * gh-123493 * gh-123512 * gh-123513 <!-- /gh-linked-prs -->
Documentation
The func role's parentheses are unnecessary as Sphinx will add them to the rendered output.
We're introducing a new rule to the sphinx-lint (issue & PR) and, since sphinx-lint utilizes CPython Docs in the CI, we'd like to also fix the issue.
TODO:
Linked PRs
:func:parentheses #123493:func:parentheses (gh-123493) #123512:func:parentheses (gh-123493) #123513