MCPcopy Index your code
hub / github.com/RustPython/RustPython / extend

Method extend

Lib/test/test_argparse.py:6335–6336  ·  view source on GitHub ↗
(str_to_convert)

Source from the content-addressed store, hash-verified

6333
6334 def test_no_double_type_conversion_of_default(self):
6335 def extend(str_to_convert):
6336 return str_to_convert + '*'
6337
6338 parser = argparse.ArgumentParser()
6339 parser.add_argument('--test', type=extend, default='*')

Callers 15

copy_replaceMethod · 0.45
_format_mapdictFunction · 0.45
_connected_pairMethod · 0.45
runMethod · 0.45
check_errorMethod · 0.45
open_fdsMethod · 0.45
next_set_methodMethod · 0.45
run_testFunction · 0.45
test_maxlenMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected