
pdb — The Python Debugger — Python 3.13.3 documentation
2 days ago · The module pdb defines an interactive source code debugger for Python programs. It supports setting (conditional) breakpoints and single stepping at the source line level, inspection of stack frames, source code listing, and evaluation of arbitrary Python code …
The Python Standard Library — Python 3.13.3 documentation
1 day ago · While The Python Language Reference describes the exact syntax and semantics of the Python language, this library reference manual describes the standard library that is distributed with Python. It also describes some of the optional components that are commonly included in Python distributions.
26.2. pdb --- Python デバッガ — Python 2.7.18 ドキュメント
class pdb.Pdb (completekey='tab', stdin=None, stdout=None, skip=None) ¶. Pdb はデバッガクラスです。 completekey, stdin, stdout 引数は、基底にある cmd.Cmd クラスに渡されます。そちらの解説を参照してください。
The Python Language Reference — Python 3.13.3 documentation
1 day ago · The Python Language Reference¶ This reference manual describes the syntax and “core semantics” of the language. It is terse, but attempts to be exact and complete. The semantics of non-essential built-in object types and of the built-in functions and modules are described in The Python Standard Library.
Built-in Functions — Python 3.13.3 documentation
1 day ago · By default, sys.breakpointhook() calls pdb.set_trace() expecting no arguments. In this case, it is purely a convenience function so you don’t have to explicitly import pdb or type as much code to enter the debugger.
Regular Expression HOWTO — Python 3.13.3 documentation
1 day ago · The solution is to use Python’s raw string notation for regular expressions; backslashes are not handled in any special way in a string literal prefixed with 'r', so r"\n" is a two-character string containing '\' and 'n', while "\n" is a one-character string containing a newline. Regular expressions will often be written in Python code using ...
26.1. bdb — Debugger framework — Python 2.7.18 文档
Feb 7, 2018 · The Bdb class acts as a generic Python debugger base class. This class takes care of the details of the trace facility; a derived class should implement user interaction. The standard debugger class (pdb.Pdb) is an example. The skip argument, if given, must be an iterable of glob-style module name patterns. The debugger will not step into ...
bdb --- 调试器框架 — Python 3.12.10 文档
Mar 12, 2010 · Bdb 类是作为通用的 Python 调试器基类。 这个类负责追踪工具的细节;所派生的类应当实现用户交互。 标准调试器类 (pdb.Pdb) 就是一个例子。 如果给出了 skip 参数,它必须是一个包含 glob 风格的模块名称模式的可迭代对象。 调试器将不会步进到来自与这些模式相 ...
typing — Support for type hints — Python 3.13.3 documentation
2 days ago · “Typing cheat sheet” A quick overview of type hints (hosted at the mypy docs) “Type System Reference” section of the mypy docs. The Python typing system is standardised via PEPs, so this reference should broadly apply to most Python type checkers. (Some parts may still be specific to mypy.) “Static Typing with Python”
os — Miscellaneous operating system interfaces — Python 3.13.3 ...
The design of all built-in operating system dependent modules of Python is such that as long as the same functionality is available, it uses the same interface; for example, the function os.stat(path) returns stat information about path in the same format (which happens to have originated with the POSIX interface).