mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
#14804: Remove [] around optional arguments with default values
Mostly just mechanical removal of []. In some rare cases I've pulled the default value up into the argument list.
This commit is contained in:
parent
ed8cf7a543
commit
e58ce01f30
25 changed files with 61 additions and 61 deletions
|
@ -386,7 +386,7 @@ The :mod:`struct` module also defines the following type:
|
|||
(``len(string)`` must equal :attr:`self.size`).
|
||||
|
||||
|
||||
.. method:: unpack_from(buffer[, offset=0])
|
||||
.. method:: unpack_from(buffer, offset=0)
|
||||
|
||||
Identical to the :func:`unpack_from` function, using the compiled format.
|
||||
(``len(buffer[offset:])`` must be at least :attr:`self.size`).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue