kopia lustrzana https://github.com/micropython/micropython
10 wiersze
181 B
Python
10 wiersze
181 B
Python
![]() |
print(repr(IndexError()))
|
||
|
print(str(IndexError()))
|
||
|
|
||
|
print(repr(IndexError("foo")))
|
||
|
print(str(IndexError("foo")))
|
||
|
|
||
![]() |
a = IndexError(1, "test", [100, 200])
|
||
|
print(repr(a))
|
||
![]() |
print(str(a))
|