MCPcopy Index your code
hub / github.com/python/cpython / _replace

Method _replace

Lib/urllib/parse.py:294–300  ·  view source on GitHub ↗
(self, /, **kwargs)

Source from the content-addressed store, hash-verified

292 return result
293
294 def _replace(self, /, **kwargs):
295 result = super()._replace(**kwargs)
296 try:
297 result._keep_empty = self._keep_empty
298 except AttributeError:
299 pass
300 return result
301
302 def __copy__(self):
303 return self

Callers 14

modifyMethod · 0.45
modifyMethod · 0.45
__repr__Method · 0.45
test_file_notexistsMethod · 0.45
test_uname_replaceMethod · 0.45
test_instanceMethod · 0.45
test_odd_sizesMethod · 0.45
test_large_sizeMethod · 0.45
test_name_conflictsMethod · 0.45
test_fileMethod · 0.45
_check_result_typeMethod · 0.45

Calls 1

superClass · 0.85

Tested by 10

test_file_notexistsMethod · 0.36
test_uname_replaceMethod · 0.36
test_instanceMethod · 0.36
test_odd_sizesMethod · 0.36
test_large_sizeMethod · 0.36
test_name_conflictsMethod · 0.36
test_fileMethod · 0.36
_check_result_typeMethod · 0.36
checkMethod · 0.36