Procs
proc capitalize(self: PyStrObject): PyStrObject {....raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc capitalizePystrObjectMethod(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc casefold(self: PyStrObject): PyStrObject {....raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc casefoldPystrObjectMethod(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc center(self: PyStrObject; width: int; fillchar = newPyAscii ' '): PyStrObject {. ...raises: [TypeError], tags: [RootEffect], forbids: [].}
- Source Edit
proc centerPystrObjectMethod(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {.cdecl, ...raises: [], tags: [RootEffect, WriteIOEffect], forbids: [].}
- Source Edit
proc endswith(self: PyStrObject; prefix: PyObject; start = 0; end = self.len): bool {. ...raises: [TypeError], tags: [], forbids: [].}
- Source Edit
proc endswith(self: PyStrObject; prefix: PyStrObject; start = 0; end = self.len): bool {. ...raises: [], tags: [], forbids: [].}
- Source Edit
proc endswith(self: PyStrObject; prefix: PyTupleObject; start = 0; end = self.len): bool {....raises: [TypeError], tags: [], forbids: [].}
- Source Edit
proc expandtabs(self: PyStrObject; tabsize = 8): PyStrObject {....raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc expandtabsPystrObjectMethod(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {.cdecl, ...raises: [], tags: [RootEffect, WriteIOEffect], forbids: [].}
- Source Edit
proc isalpha(self: PyStrObject): bool {....raises: [], tags: [], forbids: [].}
- Source Edit
proc isalphaPystrObjectMethod(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc isdecimal(self: PyStrObject): bool {....raises: [], tags: [], forbids: [].}
- Source Edit
proc isdecimalPystrObjectMethod(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc islower(self: PyStrObject): bool {....raises: [], tags: [], forbids: [].}
- Source Edit
proc islowerPystrObjectMethod(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc isspace(self: PyStrObject): bool {....raises: [], tags: [], forbids: [].}
- Source Edit
proc isspacePystrObjectMethod(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc istitle(self: PyStrObject): bool {....raises: [], tags: [], forbids: [].}
- Source Edit
proc istitlePystrObjectMethod(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc isupper(self: PyStrObject): bool {....raises: [], tags: [], forbids: [].}
- Source Edit
proc isupperPystrObjectMethod(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc ljust(self: PyStrObject; width: int; fillchar = newPyAscii ' '): PyStrObject {. ...raises: [TypeError], tags: [RootEffect], forbids: [].}
- Source Edit
proc ljustPystrObjectMethod(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {.cdecl, ...raises: [], tags: [RootEffect, WriteIOEffect], forbids: [].}
- Source Edit
proc lower(self: PyStrObject): PyStrObject {....raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc lowerPystrObjectMethod(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc lstrip(self, chars: PyStrObject): PyStrObject {....raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc lstrip(self: PyStrObject): PyStrObject {....raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc partition(self: PyStrObject; sep: PyStrObject): PyTupleObject {. ...raises: [ValueError], tags: [RootEffect], forbids: [].}
-
PyUnicode_Partition
raises ValueError if sep is empty
Source Edit proc removeprefix(self: PyStrObject; suffix: PyStrObject): PyStrObject {. ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc removeprefixPystrObjectMethod(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc removesuffix(self: PyStrObject; suffix: PyStrObject): PyStrObject {. ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc removesuffixPystrObjectMethod(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc replace(self, old, new: PyStrObject): PyStrObject {....raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc replace(self, old, new: PyStrObject; count: int): PyStrObject {....raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc rjust(self: PyStrObject; width: int; fillchar = newPyAscii ' '): PyStrObject {. ...raises: [TypeError], tags: [RootEffect], forbids: [].}
- Source Edit
proc rjustPystrObjectMethod(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {.cdecl, ...raises: [], tags: [RootEffect, WriteIOEffect], forbids: [].}
- Source Edit
proc rpartition(self: PyStrObject; sep: PyStrObject): PyTupleObject {. ...raises: [ValueError], tags: [RootEffect], forbids: [].}
-
PyUnicode_Partition
raises ValueError if sep is empty
Source Edit proc rsplit(self: PyStrObject; sep: PyNoneObject = pyNone; maxsplit: int = -1): PyListObject {. ...raises: [], tags: [RootEffect], forbids: [].}
- _PyUnicode_SplitWhitespace Source Edit
proc rsplit(self: PyStrObject; sep: PyObject; maxsplit: int = -1): PyObject {. ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc rsplit(self: PyStrObject; sep: PyStrObject; maxsplit: int = -1): PyListObject {. ...raises: [ValueError], tags: [RootEffect], forbids: [].}
-
_PyUnicode_Split
raises ValueError if sep is empty
Source Edit proc rstrip(self, chars: PyStrObject): PyStrObject {....raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc rstrip(self: PyStrObject): PyStrObject {....raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc split(self: PyStrObject; sep: PyNoneObject = pyNone; maxsplit: int = -1): PyListObject {. ...raises: [], tags: [RootEffect], forbids: [].}
- _PyUnicode_SplitWhitespace Source Edit
proc split(self: PyStrObject; sep: PyObject; maxsplit: int = -1): PyObject {. ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc split(self: PyStrObject; sep: PyStrObject; maxsplit: int = -1): PyListObject {. ...raises: [ValueError], tags: [RootEffect], forbids: [].}
-
_PyUnicode_Split
raises ValueError if sep is empty
Source Edit proc splitlines(self: PyStrObject; keepends = false): PyListObject {....raises: [], tags: [RootEffect], forbids: [].}
- _PyUnicode_Splitlines Source Edit
proc startswith(self: PyStrObject; prefix: PyObject; start = 0; end = self.len): bool {. ...raises: [TypeError], tags: [], forbids: [].}
- Source Edit
proc startswith(self: PyStrObject; prefix: PyStrObject; start = 0; end = self.len): bool {....raises: [], tags: [], forbids: [].}
- Source Edit
proc startswith(self: PyStrObject; prefix: PyTupleObject; start = 0; end = self.len): bool {....raises: [TypeError], tags: [], forbids: [].}
- Source Edit
proc strip(self, chars: PyStrObject): PyStrObject {....raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc strip(self: PyStrObject): PyStrObject {....raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc title(self: PyStrObject): PyStrObject {....raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc titlePystrObjectMethod(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc upper(self: PyStrObject): PyStrObject {....raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc upperPystrObjectMethod(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc zfill(self: PyStrObject; width: int): PyStrObject {....raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc zfillPystrObjectMethod(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {.cdecl, ...raises: [], tags: [RootEffect, WriteIOEffect], forbids: [].}
- Source Edit