#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:
Hynek Schlawack 2012-05-22 10:27:40 +02:00
parent ed8cf7a543
commit e58ce01f30
25 changed files with 61 additions and 61 deletions

View file

@ -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`).