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

Function askinteger

Lib/tkinter/simpledialog.py:344–356  ·  view source on GitHub ↗

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

(title, prompt, **kw)

Source from the content-addressed store, hash-verified

342
343
344def askinteger(title, prompt, **kw):
345 '''get an integer from the user
346
347 Arguments:
348
349 title -- the dialog title
350 prompt -- the label text
351 **kw -- see SimpleDialog class
352
353 Return value is an integer
354 '''
355 d = _QueryInteger(title, prompt, **kw)
356 return d.result
357
358
359class _QueryFloat(_QueryDialog):

Callers 1

doitFunction · 0.85

Calls 1

_QueryIntegerClass · 0.85

Tested by

no test coverage detected