Created
April 30, 2013 20:33
-
-
Save bobhancockgist/5491724 to your computer and use it in GitHub Desktop.
Python: Docstring class
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
<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