Searched refs:UserString (Results 1 – 15 of 15) sorted by relevance
| /third_party/python/Lib/test/ |
| D | test_userstring.py | 7 from collections import UserString 15 type2test = UserString 43 class ustr2(UserString):
|
| D | test_pprint.py | 1202 d = collections.UserString('') 1204 d = collections.UserString('the quick brown fox jumped over a lazy dog')
|
| D | test_weakset.py | 4 from collections import UserString as ustr
|
| D | test_collections.py | 18 from collections import UserDict, UserString, UserList 56 self._superset_test(UserString, str)
|
| /third_party/python/Lib/collections/ |
| D | __init__.py | 1307 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/ |
| D | collections.rst | 33 :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/ |
| D | pprint.py | 548 _dispatch[_collections.UserString.__repr__] = _pprint_user_string
|
| /third_party/python/Misc/NEWS.d/ |
| D | 3.5.0b1.rst | 204 collections.UserString now supports __getnewargs__(), __rmod__(),
|
| D | 3.9.0a6.rst | 251 bytearray, and collections.UserString methods to remove affixes from a
|
| D | 3.8.0b1.rst | 907 Fix bug in ``__rmod__`` of ``UserString`` - by Batuhan Taskaya.
|
| D | 3.9.0a1.rst | 3342 Fix ``UserString.encode()`` to correctly return ``bytes`` rather than a 3343 ``UserString`` instance.
|
| /third_party/python/Doc/whatsnew/ |
| D | 2.0.rst | 1120 * :mod:`UserString`: A base class useful for deriving objects that behave like
|
| D | 3.9.rst | 170 ``bytes``, ``bytearray``, and ``collections.UserString`` methods have also been
|
| D | 3.5.rst | 930 The :class:`~collections.UserString` class now implements the
|
| /third_party/python/Misc/ |
| D | HISTORY | 16762 ``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.
|