mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
fix typo (extraneous ")")
This commit is contained in:
@@ -2015,7 +2015,7 @@ applied to complex expressions and nested functions:
|
||||
|
||||
There is a way to remove an item from a list given its index instead
|
||||
of its value: the \keyword{del} statement. This differs from the
|
||||
\method{pop()}) method which returns a value. The \keyword{del}
|
||||
\method{pop()} method which returns a value. The \keyword{del}
|
||||
statement can also be used to remove slices from a list or clear the
|
||||
entire list (which we did earlier by assignment of an empty list to
|
||||
the slice). For example:
|
||||
|
||||
Reference in New Issue
Block a user