Open main menu
Home
Random
Log in
Settings
About Sugar Labs
Disclaimers
Sugar Labs
Search
Changes
← Older edit
Newer edit →
Features/Sugar3 Docs
(view source)
Revision as of 23:07, 2 January 2017
9 bytes added
,
23:07, 2 January 2017
→Example Docstring
:
Example doc string should have correct format
Line 56:
Line 56:
that you can invoke using the **kwargs
that you can invoke using the **kwargs
c (int): desctiption of c
c (int): desctiption of c
−
d (
:class:`
sugar3.graphics.alert.Alert
`
): remember to link
+
d (sugar3.graphics.alert.Alert): remember to link
classes using the correct syntax
classes using the correct syntax
Line 74:
Line 74:
Args:
Args:
happy (bool): a description for happy
happy (bool): a description for happy
−
lol (bool
, optional
): a optional argument, explain what
+
+
Keyword Arguments:
+
lol (bool): a optional argument, explain what
it defaults to
it defaults to
SAMdroid
Bureaucrats
,
Administrators
,
Widget editors
163
edits