summaryrefslogtreecommitdiffstats
path: root/Doc/library/stdtypes.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-01-09 22:39:42 (GMT)
committerGeorg Brandl <georg@python.org>2010-01-09 22:39:42 (GMT)
commita25cfdc4054db27c7fa91613b4c3879e77994a81 (patch)
treec5f28c17fc49ce3b210e0f3796ef5770e50851f8 /Doc/library/stdtypes.rst
parenta5c565a53493eefd9f0e531003bc2396e3cb726a (diff)
downloadcpython-a25cfdc4054db27c7fa91613b4c3879e77994a81.zip
cpython-a25cfdc4054db27c7fa91613b4c3879e77994a81.tar.gz
cpython-a25cfdc4054db27c7fa91613b4c3879e77994a81.tar.bz2
Remove redundant brackets in signatures.
Diffstat (limited to 'Doc/library/stdtypes.rst')
-rw-r--r--Doc/library/stdtypes.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index 4e7ab3a..4645c4e 100644
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -457,7 +457,7 @@ Additional Methods on Integer Types
.. versionadded:: 3.1
- .. method:: int.to_bytes(length, byteorder, [\*, signed=False])
+ .. method:: int.to_bytes(length, byteorder, \*, signed=False)
Return an array of bytes representing an integer.
@@ -489,7 +489,7 @@ Additional Methods on Integer Types
.. versionadded:: 3.2
- .. classmethod:: int.from_bytes(bytes, byteorder, [\*, signed=False]])
+ .. classmethod:: int.from_bytes(bytes, byteorder, \*, signed=False)
Return the integer represented by the given array of bytes.