mirror of
https://github.com/micropython/micropython.git
synced 2026-05-01 21:30:14 +02:00
dc2fcfcc55
Signed-off-by: Christian Clauss <cclauss@me.com>
12 lines
294 B
Python
12 lines
294 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)
|