aboutsummaryrefslogtreecommitdiff
path: root/tests/cpydiff/core_function_argcount.py
blob: 5f3dca4dcdbe4fd13881ed6b2c376d28f0d53f90 (plain)
1
2
3
4
5
6
7
8
9
10
"""
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)