File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 60
60
"body" : " def ${1:fname}(${2:arg}):\n\t ${3:pass}$0" ,
61
61
"description" : " Code snippet for function definition."
62
62
},
63
+ "New async function" : {
64
+ "prefix" : " adef" ,
65
+ "body" : " async def ${1:fname}(${2:arg}):\n\t ${3:pass}$0" ,
66
+ "description" : " Code snippet for async function definition."
67
+ },
63
68
"New property" : {
64
69
"prefix" : " property" ,
65
70
"body" : " @property\n def ${1:foo}(self):\n \"\"\" ${2:The $1 property.}\"\"\"\n ${3:return self._$1}\n @${4:$1}.setter\n def ${5:$1}(self, value):\n ${6:self._$1} = value" ,
120
125
"body" : " if __name__ == \" __main__\" :\n\t ${1:main()}$0" ,
121
126
"description" : " Create implicitly all the code at the top level using the __name__ special variable."
122
127
}
123
- }
128
+ }
You can’t perform that action at this time.
0 commit comments