Skip to content

Instantly share code, notes, and snippets.

@jacob-ogre
Created June 14, 2013 23:47
Show Gist options
  • Select an option

  • Save jacob-ogre/5786118 to your computer and use it in GitHub Desktop.

Select an option

Save jacob-ogre/5786118 to your computer and use it in GitHub Desktop.

Revisions

  1. jacob-ogre created this gist Jun 14, 2013.
    19 changes: 19 additions & 0 deletions Long_Docstring.sublime-snippet
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,19 @@
    <snippet>
    <content><![CDATA[
    """
    ${1:One-liner}
    USAGE:
    python ${2:file} ${3:args...}
    ARGS:
    ${4:arg, explanation}
    RETURNS:
    ${5:what is returned?}
    COMMENTS:
    ${6:Detailed comments as needed.}
    """
    ]]></content>
    <tabTrigger>docl</tabTrigger>
    <scope>source.python</scope>
    <description>Long Docstring</description>
    </snippet>