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 82847b8 commit d552ea0Copy full SHA for d552ea0
m5stack/libs/manifest.py
@@ -27,3 +27,4 @@
27
module("m5camera.py")
28
module("pid.py")
29
include("iot_devices/manifest.py")
30
+module("warnings.py")
m5stack/libs/warnings.py
@@ -0,0 +1,7 @@
1
+# SPDX-FileCopyrightText: Copyright (c) 2013-2014 micropython-lib contributors
2
+#
3
+# SPDX-License-Identifier: MIT
4
+
5
6
+def warn(msg, cat=None, stacklevel=1):
7
+ print("%s: %s" % ("Warning" if cat is None else cat.__name__, msg))
0 commit comments