]> granicus.if.org Git - python/commitdiff
fix str.format()'s first arg #5371
authorBenjamin Peterson <benjamin@python.org>
Thu, 26 Feb 2009 00:30:11 +0000 (00:30 +0000)
committerBenjamin Peterson <benjamin@python.org>
Thu, 26 Feb 2009 00:30:11 +0000 (00:30 +0000)
Doc/library/stdtypes.rst

index fe78be78420b964ab93048e5ca39e51160b67953..7338f95254904c53eb7afd70f4baf7d7675a0b85 100644 (file)
@@ -892,7 +892,7 @@ string functions based on regular expressions.
    found.
 
 
-.. method:: str.format(format_string, *args, **kwargs)
+.. method:: str.format(*args, **kwargs)
 
    Perform a string formatting operation.  The *format_string* argument can
    contain literal text or replacement fields delimited by braces ``{}``.  Each