Skip to content

Instantly share code, notes, and snippets.

@bobhancockgist
Created April 30, 2013 20:33
Show Gist options
  • Save bobhancockgist/5491724 to your computer and use it in GitHub Desktop.
Save bobhancockgist/5491724 to your computer and use it in GitHub Desktop.
Python: Docstring class
<snippet>
<content><![CDATA[
Class $1(object):
""" ${2:A comprehensible explanation of the purpose of the class
that a non-programmer can understand along with advice on sub-classing.""}
Attributes:
${3/, ?/:\n\t/g}:
"""
def __init__(self, $3):
]]></content>
<tabTrigger>docclass</tabTrigger> -->
<scope>source.python</scope>
<description>Class docstring</description>
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment