summaryrefslogtreecommitdiff
path: root/tests/cpydiff/core_function_argcount.py
blob: c257def726aca5306da5b2141d2b876e99c4c653 (plain)
1
2
3
4
5
6
7
8
9
10
11
"""
categories: Core,Functions
description: Error messages for methods may display unexpected argument counts
cause: MicroPython counts "self" as an argument.
workaround: Interpret error messages with the information above in mind.
"""

try:
    [].append()
except Exception as e:
    print(e)