On this page
  1. False
  2. Import & Availability
  3. Overview & Signature
  4. Usage
  5. Gotchas
  6. REPL Inspect

False

Prev: Ellipsis | Up: __builtins__ | Next: None
Rel: True, None, Ellipsis, NotImplemented, copyright
Ref: docs.python.org — False
Tags: #public #python3 #builtins


Import & Availability

# Built-in (available globally without import)
from builtins import False

Overview & Signature

False -> bool

Returns True when the argument is true, False otherwise.

Usage

assert False == 0 and isinstance(False, int)
assert (False is 0) is False

Gotchas

REPL Inspect

help(False)

Linked from

Related notes