On Sat, Nov 13, 2010 at 2:07 PM, TAA, Leo Newbie <[email protected]> wrote:

> I would like to know the specific steps you went through to find the
> "docstring" (whatever that is) for the unmark-all command in order for you
> to copy and paste it into this thread.

I searched for "def unmarkAll" because I remembered the convention for
functions corresponding to commands.  Had I not remembered, I could
have searched for the string "unmark-all" which would have taken me to
a table (one of many) that associate command names with functions.

After finding the function, the docstring is a Python docstring.  For
information about docstrings, see the Python tutorial:

http://docs.python.org/tutorial/controlflow.html#defining-functions

For more information about docstrings, see

http://www.python.org/dev/peps/pep-0257/
and
http://en.wikipedia.org/wiki/Docstring

In general, I suggest getting into the habit of googling for any terms
you don't understand.  It's a great way to learn :-)

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to