kopia lustrzana https://github.com/micropython/micropython-lib
warnings: Add example.
rodzic
24d04d6fd7
commit
ffc30e8c68
|
@ -0,0 +1,6 @@
|
||||||
|
import warnings
|
||||||
|
|
||||||
|
warnings.warn('block_size of %d seems too small; using our '
|
||||||
|
'default of %d.',
|
||||||
|
RuntimeError, 2)
|
||||||
|
# RuntimeWarning, 2)
|
Ładowanie…
Reference in New Issue