Merge pull request #351 from r-darwish/python-except

Change variable order in Python try snippets
This commit is contained in:
Andrea Crotti 2019-11-04 09:00:45 +00:00 committed by GitHub
commit b36dc3059f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

View File

@ -3,6 +3,6 @@
# key: try
# --
try:
$1
except ${2:Exception}:
$0
$0
except ${1:Exception}:
$2

View File

@ -3,8 +3,8 @@
# key: try
# --
try:
$1
except $2:
$3
$0
except $1:
$2
else:
$0
$3