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

Function askstring

Lib/tkinter/simpledialog.py:400–412  ·  view source on GitHub ↗

get a string from the user Arguments: title -- the dialog title prompt -- the label text **kw -- see SimpleDialog class Return value is a string

(title, prompt, **kw)

Source from the content-addressed store, hash-verified

398
399
400def askstring(title, prompt, **kw):
401 '''get a string from the user
402
403 Arguments:
404
405 title -- the dialog title
406 prompt -- the label text
407 **kw -- see SimpleDialog class
408
409 Return value is a string
410 '''
411 d = _QueryString(title, prompt, **kw)
412 return d.result
413
414
415if __name__ == '__main__':

Callers 1

doitFunction · 0.85

Calls 1

_QueryStringClass · 0.85

Tested by

no test coverage detected