circuitpython/tests/cpydiff/core_function_argcount.py

11 lines
293 B
Python

"""
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)