We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24d04d6 commit ffc30e8Copy full SHA for ffc30e8
warnings/example_warn.py
@@ -0,0 +1,6 @@
1
+import warnings
2
+
3
+warnings.warn('block_size of %d seems too small; using our '
4
+ 'default of %d.',
5
+ RuntimeError, 2)
6
+# RuntimeWarning, 2)
0 commit comments