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

Function prompt

Lib/smtplib.py:1105–1108  ·  view source on GitHub ↗
(prompt)

Source from the content-addressed store, hash-verified

1103# Note: This always sends to localhost.
1104if __name__ == '__main__':
1105 def prompt(prompt):
1106 sys.stdout.write(prompt + ": ")
1107 sys.stdout.flush()
1108 return sys.stdin.readline().strip()
1109
1110 fromaddr = prompt("From")
1111 toaddrs = prompt("To").split(',')

Callers 1

smtplib.pyFile · 0.85

Calls 4

writeMethod · 0.45
flushMethod · 0.45
stripMethod · 0.45
readlineMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…