mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
fix typo (extraneous ")")
This commit is contained in:
parent
9875ba4d4e
commit
7a7cbae77b
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue