summaryrefslogtreecommitdiff
path: root/tests/errors/posonly4.pyx
blob: d1a1f61f9124467ed4b89404e583cb44861575be (plain)
1
2
3
4
5
6
7
8
9
# mode: error
# tag: posonly

def f(/, a = 1):
    pass

_ERRORS = u"""
4:6: Got zero positional-only arguments despite presence of positional-only specifier '/'
"""