diff options
-rw-r--r-- | python.html.markdown | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/python.html.markdown b/python.html.markdown index 0b115c4e..4aeb93f4 100644 --- a/python.html.markdown +++ b/python.html.markdown @@ -165,15 +165,6 @@ None # => None "etc" is None # => False None is None # => True -# None, 0, and empty strings/lists/dicts/tuples/sets all evaluate to False. -# All other values are True -bool(0) # => False -bool("") # => False -bool([]) # => False -bool({}) # => False -bool(()) # => False -bool(set()) # => False - #################################################### ## 2. Variables and Collections #################################################### |