mirror of
https://github.com/joaotavora/yasnippet.git
synced 2026-02-04 22:42:25 +00:00
* Fix issue 113: invalid filenames on Windows. Thanks claudio.bley!
This commit is contained in:
11
extras/imported/python-mode/Idioms/TryExceptElse.yasnippet
Normal file
11
extras/imported/python-mode/Idioms/TryExceptElse.yasnippet
Normal file
@@ -0,0 +1,11 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: try
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: Try/Except/Else
|
||||
# --
|
||||
try:
|
||||
${1:pass}
|
||||
except ${2:Exception}, ${3:e}:
|
||||
${4:raise $3}
|
||||
else:
|
||||
${5:pass}
|
||||
Reference in New Issue
Block a user