_sitebuiltins - The objects used by the site module to add custom builtins.
| Use Case | Command | Description |
|---|---|---|
| Exit the interpreter | quit() or exit() | Quit the Python interpreter (provided by the Quitter class). |
| Exit with a specific code | quit(1) or exit(1) | Exit with a numeric exit code (e.g., for error signaling). |
| Understand the built-in objects | help(quit) | Show documentation for the quit object (instance of Quitter). |
https://docs.python.org/3.10/library/_sitebuiltins.html
The following documentation is automatically generated from the Python source files. It may be incomplete, incorrect or include features that are considered implementation detail and may vary between Python implementations. When in doubt, consult the module reference at the location listed above.
builtins.object
Quitterclass Quitter(builtins.object)
| Quitter(name, eof)
|
📋 Methods defined here:
__call__(self, code=None) — 🔁 Call self as a function.__init__(self, name, eof) — 🔧 Initialize self. See help(type(self)) for accurate signature.__repr__(self) — 📝 Return repr(self).📊 Data descriptors defined here:
__dict__ — 📋 dictionary for instance variables (if defined)__weakref__ — 🔗 list of weak references to the object (if defined)/usr/lib/python3.10/_sitebuiltins.py
Generated by phpman v4.10.0-7-g98e9fd5 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-09-01 17:03 @216.73.216.239
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)