PyDocs

Nav

Data Types

UserString

  • UserString(seq)
Class that simulates a string object. The instance’s content is kept in a regular string object, which is accessible via the data attribute of UserString instances. The instance’s contents are initially set to a copy of seq. The seq argument can be any object which can be converted into a string using the built-in str() function.
Changed in 3.5
  • 3.5: New methods __getnewargs__, __rmod__, casefold, format_map, isprintable, and maketrans.
Members of UserString

d

data
A real str object used to store the contents of the UserString class.
0 Examples
No examples for collections/UserString.
See Also
No see-alsos for collections/UserString
0 Notes
No notes for UserString