MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / intro

Method intro

tools/python-3.11.9-amd64/Lib/pydoc.py:2158–2175  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2156 self.output.write('\n')
2157
2158 def intro(self):
2159 self.output.write('''\
2160Welcome to Python {0}'s help utility! If this is your first time using
2161Python, you should definitely check out the tutorial at
2162https://docs.python.org/{0}/tutorial/.
2163
2164Enter the name of any module, keyword, or topic to get help on writing
2165Python programs and using Python modules. To get a list of available
2166modules, keywords, symbols, or topics, enter "modules", "keywords",
2167"symbols", or "topics".
2168
2169Each module also comes with a one-line summary of what it does; to list
2170the modules whose name or summary contain a given string such as "spam",
2171enter "modules spam".
2172
2173To quit this help utility and return to the interpreter,
2174enter "q" or "quit".
2175'''.format('%d.%d' % sys.version_info[:2]))
2176
2177 def list(self, items, columns=4, width=80):
2178 items = list(sorted(items))

Callers 2

__call__Method · 0.95
interactMethod · 0.95

Calls 2

writeMethod · 0.45
formatMethod · 0.45

Tested by

no test coverage detected