mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Another try at clarifying what goes into and comes out of Unicode objects.
This commit is contained in:
parent
d8ce87ad84
commit
3e930ba55f
2 changed files with 46 additions and 31 deletions
|
|
@ -568,10 +568,6 @@ def my_import(name):
|
|||
\begin{funcdesc}{len}{s}
|
||||
Return the length (the number of items) of an object. The argument
|
||||
may be a sequence (string, tuple or list) or a mapping (dictionary).
|
||||
In the case of Unicode strings, \function{len()} returns the number
|
||||
of storage units, not abstract characters. In particular, when a
|
||||
surrogate pair is encountered, each component of the pair is counted
|
||||
as a separate character.
|
||||
\end{funcdesc}
|
||||
|
||||
\begin{funcdesc}{list}{\optional{sequence}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue