Skip to content

Commit 5a614d9

Browse files
authored
add tryp
1 parent 2a28fc3 commit 5a614d9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

snippets/python.snippets

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,3 +460,8 @@ snippet numeric "methods for emulating a numeric type" b
460460
def __coerce__(self, other):
461461
${25:pass}
462462

463+
snippet tryp Try/Except
464+
try:
465+
${1:${VISUAL}}
466+
except Exception as e:
467+
import pdb; pdb.set_trace()

0 commit comments

Comments
 (0)