Home
last modified time | relevance | path

Searched refs:UserString (Results 1 – 15 of 15) sorted by relevance

/third_party/python/Lib/test/
Dtest_userstring.py7 from collections import UserString
15 type2test = UserString
43 class ustr2(UserString):
Dtest_pprint.py1202 d = collections.UserString('')
1204 d = collections.UserString('the quick brown fox jumped over a lazy dog')
Dtest_weakset.py4 from collections import UserString as ustr
Dtest_collections.py18 from collections import UserDict, UserString, UserList
56 self._superset_test(UserString, str)
/third_party/python/Lib/collections/
D__init__.py1307 class UserString(_collections_abc.Sequence): class
1312 elif isinstance(seq, UserString):
1339 if isinstance(string, UserString):
1344 if isinstance(string, UserString):
1349 if isinstance(string, UserString):
1354 if isinstance(string, UserString):
1359 if isinstance(string, UserString):
1364 if isinstance(char, UserString):
1375 if isinstance(other, UserString):
1408 if isinstance(sub, UserString):
[all …]
/third_party/python/Doc/library/
Dcollections.rst33 :class:`UserString` wrapper around string objects for easier string subclassing
1339 :class:`UserString` objects
1342 The class, :class:`UserString` acts as a wrapper around string objects.
1348 .. class:: UserString(seq)
1352 :attr:`data` attribute of :class:`UserString` instances. The instance's
1358 :class:`UserString` instances provide the following attribute:
1363 :class:`UserString` class.
/third_party/python/Lib/
Dpprint.py548 _dispatch[_collections.UserString.__repr__] = _pprint_user_string
/third_party/python/Misc/NEWS.d/
D3.5.0b1.rst204 collections.UserString now supports __getnewargs__(), __rmod__(),
D3.9.0a6.rst251 bytearray, and collections.UserString methods to remove affixes from a
D3.8.0b1.rst907 Fix bug in ``__rmod__`` of ``UserString`` - by Batuhan Taskaya.
D3.9.0a1.rst3342 Fix ``UserString.encode()`` to correctly return ``bytes`` rather than a
3343 ``UserString`` instance.
/third_party/python/Doc/whatsnew/
D2.0.rst1120 * :mod:`UserString`: A base class useful for deriving objects that behave like
D3.9.rst170 ``bytes``, ``bytearray``, and ``collections.UserString`` methods have also been
D3.5.rst930 The :class:`~collections.UserString` class now implements the
/third_party/python/Misc/
DHISTORY16762 ``UserList`` and ``UserString``.
17046 UserString and UserList to the collections module. The
19348 - ``UserString.MutableString`` now supports negative indices in
26776 UserString - base class for deriving from the string type.