blob: ceaad539de269e67fd32f413d377a0f3072322bf (
plain)
1
2
3
4
5
6
7
8
9
10
|
"""Test that positional only argument annotations are properly marked as consumed
https://github.com/pylint-dev/pylint/issues/3462
"""
from typing import AnyStr, Set
def func(arg: AnyStr, /, arg2: Set[str]):
"""Uses positional only arguments"""
return arg, arg2
|