diff options
author | Dani Alcala <112832187+clavedeluna@users.noreply.github.com> | 2022-12-04 12:15:14 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-04 16:15:14 +0100 |
commit | 1913635db913e97f8866bb7e6e3dc1ca993f5a24 (patch) | |
tree | dd156240ffb93083ce8528d30bbcc8f836eb3acb /pylint/extensions | |
parent | 30c931f5170f6b83d8762993fdaa534e207b4324 (diff) | |
download | pylint-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.py | 2 |
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)? |