mirror of https://github.com/python/cpython
fix typo (extraneous ")")
This commit is contained in:
parent
9875ba4d4e
commit
7a7cbae77b
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue