mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Slightly improved indexing for the string-% operator, thanks to comments
from Skip Montanaro. There is one weirdness in the final index for HTML, but that is low priority.
This commit is contained in:
parent
fcf94681ed
commit
b38784e4a0
1 changed files with 2 additions and 1 deletions
|
@ -670,10 +670,11 @@ Return a copy of the string converted to uppercase.
|
|||
|
||||
\subsubsection{String Formatting Operations \label{typesseq-strings}}
|
||||
|
||||
\index{formatting, string}
|
||||
\index{formatting, string (\%{})}
|
||||
\index{string!formatting}
|
||||
\index{printf-style formatting}
|
||||
\index{sprintf-style formatting}
|
||||
\index{\protect\%{} formatting}
|
||||
|
||||
String and Unicode objects have one unique built-in operation: the
|
||||
\code{\%} operator (modulo). Given \code{\var{format} \%
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue