diff --git a/snippets/python-mode/try b/snippets/python-mode/try index 8836de6..27cedde 100644 --- a/snippets/python-mode/try +++ b/snippets/python-mode/try @@ -3,6 +3,6 @@ # key: try # -- try: - $1 -except ${2:Exception}: - $0 \ No newline at end of file + $0 +except ${1:Exception}: + $2 \ No newline at end of file diff --git a/snippets/python-mode/tryelse b/snippets/python-mode/tryelse index f2e44e4..999d740 100644 --- a/snippets/python-mode/tryelse +++ b/snippets/python-mode/tryelse @@ -3,8 +3,8 @@ # key: try # -- try: - $1 -except $2: - $3 + $0 +except $1: + $2 else: - $0 \ No newline at end of file + $3 \ No newline at end of file