Jump to content
Main menu
Main menu
move to sidebar
hide
Social
Discord
Facebook
Twitter
Explore
Languages
Tasks
Random page
Rosetta Code
Search
Search
Create account
Log in
Personal tools
Dark mode
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Null object: Difference between revisions
Page
Discussion
English
Read
View source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
View source
View history
Refresh
General
Special pages
Printable version
Get shortened URL
← Older edit
Newer edit →
Null object
(view source)
Revision as of 04:44, 10 November 2011
6 bytes removed
,
12 years ago
→Simplified this example a bit {{header|Python}}
Revision as of 04:26, 10 November 2011
(
view source
)
216.15.26.97
(
talk
)
(
→This Python example was just plain wrong. Replaced with a recognized "Pythonic" idiom {{header|Python}}
)
← Older edit
Revision as of 04:44, 10 November 2011
(
view source
)
216.15.26.97
(
talk
)
(
→Simplified this example a bit {{header|Python}}
)
Newer edit →
Line 603:
<lang python>try:
x
print "x is defined"
▼
except NameError:
print "x is undefined"
else:
▲
print "x is defined"
</lang>
Anonymous user
216.15.26.97
Cookies help us deliver our services. By using our services, you agree to our use of cookies.
More information
OK
Toggle limited content width