mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Issue #23921: Standardized documentation whitespace formatting.
Original patch by James Edwards.
This commit is contained in:
parent
387235085c
commit
dba903993a
63 changed files with 445 additions and 409 deletions
|
@ -331,12 +331,12 @@ program:
|
|||
The simple form, ``assert expression``, is equivalent to ::
|
||||
|
||||
if __debug__:
|
||||
if not expression: raise AssertionError
|
||||
if not expression: raise AssertionError
|
||||
|
||||
The extended form, ``assert expression1, expression2``, is equivalent to ::
|
||||
|
||||
if __debug__:
|
||||
if not expression1: raise AssertionError(expression2)
|
||||
if not expression1: raise AssertionError(expression2)
|
||||
|
||||
.. index::
|
||||
single: __debug__
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue