summaryrefslogtreecommitdiff
path: root/shared-bindings/help.c
diff options
context:
space:
mode:
Diffstat (limited to 'shared-bindings/help.c')
-rw-r--r--shared-bindings/help.c29
1 files changed, 8 insertions, 21 deletions
diff --git a/shared-bindings/help.c b/shared-bindings/help.c
index 1230fb04f..a3ae94797 100644
--- a/shared-bindings/help.c
+++ b/shared-bindings/help.c
@@ -24,25 +24,12 @@
* THE SOFTWARE.
*/
-#include "lib/utils/pyhelp.h"
-#include "shared-bindings/help.h"
+#include "genhdr/mpversion.h"
-//| :func:`help` - Built-in method to provide helpful information
-//| ==============================================================
-//|
-//| .. method:: help(object=None)
-//|
-//| Prints a help method about the given object. When ``object`` is none,
-//| prints general port information.
-//|
-STATIC mp_obj_t pyb_help(uint n_args, const mp_obj_t *args) {
- if (n_args == 0) {
- shared_module_help();
- } else {
- // try to print something sensible about the given object
- pyhelp_print_obj(args[0]);
- }
-
- return mp_const_none;
-}
-MP_DEFINE_CONST_FUN_OBJ_VAR_BETWEEN(mp_builtin_help_obj, 0, 1, pyb_help);
+const char *circuitpython_help_text =
+ "Welcome to Adafruit CircuitPython " MICROPY_GIT_TAG "!\r\n"
+ "\r\n"
+ "Please visit learn.adafruit.com/category/circuitpython for project guides.\r\n"
+ "\r\n"
+ "To list built-in modules please do `help(\"modules\")`.\r\n";
+;