Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
tools
/
idea
/
3a2425a5aed1bef93dab954745ad5665265eb70b
/
.
/
python
/
testData
/
codeInsight
/
controlflow
/
tryexceptelsefinally.py
blob: aff0bf097dcc71c1474e248c0f414910a675bd4f [
file
] [
log
] [
blame
]
Tor Norbye
3a2425a
2013-11-04 10:16:08 -0800
[
diff
] [
blame^
]
1
d
=
dict
()
2
try
:
3
v
=
d
[
'key'
]
4
except
KeyError
:
5
print
'element not found'
6
else
:
7
print
'element value {0}'
.
format
(
v
)
8
finally
:
9
print
'excuting finally clause'