summaryrefslogtreecommitdiff
path: root/pylint/extensions
diff options
context:
space:
mode:
authorDani Alcala <112832187+clavedeluna@users.noreply.github.com>2022-12-04 12:15:14 -0300
committerGitHub <noreply@github.com>2022-12-04 16:15:14 +0100
commit1913635db913e97f8866bb7e6e3dc1ca993f5a24 (patch)
treedd156240ffb93083ce8528d30bbcc8f836eb3acb /pylint/extensions
parent30c931f5170f6b83d8762993fdaa534e207b4324 (diff)
downloadpylint-git-1913635db913e97f8866bb7e6e3dc1ca993f5a24.tar.gz
Fix ``missing-param-doc`` for escaped underscores (#7878)
Co-authored-by: Daniƫl van Noord <13665637+DanielNoord@users.noreply.github.com>
Diffstat (limited to 'pylint/extensions')
-rw-r--r--pylint/extensions/_check_docs_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pylint/extensions/_check_docs_utils.py b/pylint/extensions/_check_docs_utils.py
index 46f0a2ac6..811bd67b5 100644
--- a/pylint/extensions/_check_docs_utils.py
+++ b/pylint/extensions/_check_docs_utils.py
@@ -471,7 +471,7 @@ class GoogleDocstring(Docstring):
re_param_line = re.compile(
rf"""
- \s* ((?:\\?\*{{0,2}})?\w+) # identifier potentially with asterisks
+ \s* ((?:\\?\*{{0,2}})?[\w\\]+) # identifier potentially with asterisks or escaped `\`
\s* ( [(]
{re_multiple_type}
(?:,\s+optional)?