-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
One general function for printing function help + help returns null
- Loading branch information
1 parent
02b4035
commit 1c912dc
Showing
3 changed files
with
11 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"code": 0, "stdout": "\nString\n\nA String is a sequence of characters.\n\nMethods:\n len(str) -> Returns the length of the string.\n\nString standard library methods:\n find(str) -> Find a character in a string and return its index (-1 if not found)\n to_int() -> Magic method to convert string to int if possible\n\nExample: \"Hello World!\"\n\nHelp on object Test:\n\nclass Test\n| property1 = \"Hello, World!\"\n| fun __constructor__()\n|\t [No Description]\n|\n| fun func1(arg1, arg2)\n|\t Description for func1\n|\n| fun func2(arg1)\n|\t Description for func2\n|\n| fun no_description()\n|\t [No Description]\n|\n\nHelp on object Test:\n\nclass Test\n| property1 = \"Hello, World!\"\n| fun __constructor__()\n|\t [No Description]\n|\n| fun func1(arg1, arg2)\n|\t Description for func1\n|\n| fun func2(arg1)\n|\t Description for func2\n|\n| fun no_description()\n|\t [No Description]\n|\n\nHelp on function standalone\n| fun standalone(arg1, arg2)\n|\tThis is a standalone function\n\n", "stderr": ""} | ||
{"code": 0, "stdout": "\nString\n\nA String is a sequence of characters.\n\nMethods:\n len(str) -> Returns the length of the string.\n\nString standard library methods:\n find(str) -> Find a character in a string and return its index (-1 if not found)\n to_int() -> Magic method to convert string to int if possible\n\nExample: \"Hello World!\"\n\nHelp on object Test:\n\nclass Test\n| property1 = \"Hello, World!\"\n| fun __constructor__()\n|\t[No Description]\n| fun func1(arg1, arg2)\n|\tDescription for func1\n| fun func2(arg1)\n|\tDescription for func2\n| fun no_description()\n|\t[No Description]\n\nHelp on object Test:\n\nclass Test\n| property1 = \"Hello, World!\"\n| fun __constructor__()\n|\t[No Description]\n| fun func1(arg1, arg2)\n|\tDescription for func1\n| fun func2(arg1)\n|\tDescription for func2\n| fun no_description()\n|\t[No Description]\n\nHelp on function standalone\n| fun standalone(arg1, arg2)\n|\tThis is a standalone function\n\n", "stderr": ""} |