X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/1b51e2c07887bdd0aa12f8e79215ea72cbbc2ab4..7595dabb4387237b76e80bdee72fb6323b2d603b:/black.py diff --git a/black.py b/black.py index 0fa9df0..efe5af9 100644 --- a/black.py +++ b/black.py @@ -2312,8 +2312,8 @@ def is_vararg(leaf: Leaf, within: Set[NodeType]) -> bool: """Return True if `leaf` is a star or double star in a vararg or kwarg. If `within` includes VARARGS_PARENTS, this applies to function signatures. - If `within` includes COLLECTION_LIBERALS_PARENTS, it applies to right - hand-side extended iterable unpacking (PEP 3132) and additional unpacking + If `within` includes UNPACKING_PARENTS, it applies to right hand-side + extended iterable unpacking (PEP 3132) and additional unpacking generalizations (PEP 448). """ if leaf.type not in STARS or not leaf.parent: