MCPcopy Index your code
hub / github.com/numpy/numpy / rstrip

Method rstrip

numpy/_core/defchararray.py:1072–1082  ·  view source on GitHub ↗

For each element in `self`, return a copy with the trailing characters removed. See Also -------- char.rstrip

(self, chars=None)

Source from the content-addressed store, hash-verified

1070 return rsplit(self, sep, maxsplit)
1071
1072 def rstrip(self, chars=None):
1073 """
1074 For each element in `self`, return a copy with the trailing
1075 characters removed.
1076
1077 See Also
1078 --------
1079 char.rstrip
1080
1081 """
1082 return rstrip(self, chars)
1083
1084 def split(self, sep=None, maxsplit=None):
1085 """

Callers 15

validate_rst_syntaxFunction · 0.80
scan_fileFunction · 0.80
nep_metadataFunction · 0.80
__getitem__Method · 0.80
_extendLineFunction · 0.80
_extendLine_prettyFunction · 0.80
recurserFunction · 0.80
__call__Method · 0.80
find_functionsFunction · 0.80
test_chararray_rstripMethod · 0.80

Calls 1

rstripFunction · 0.85

Tested by 5

test_chararray_rstripMethod · 0.64
test_rstripMethod · 0.64
test_rstripMethod · 0.64