About 50 results
Open links in new tab
  1. Built-in Exceptions — Python 3.14.2 documentation

    2 days ago · User code can raise built-in exceptions. This can be used to test an exception handler or to report an error condition “just like” the situation in which the interpreter raises the same exception; …

  2. 8. Errors and Exceptions — Python 3.14.2 documentation

    2 days ago · Errors detected during execution are called exceptions and are not unconditionally fatal: you will soon learn how to handle them in Python programs. Most exceptions are not handled by …

  3. Built-in Functions — Python 3.14.2 documentation

    2 days ago · The isinstance() built-in function is recommended for testing the type of an object, because it takes subclasses into account. With three arguments, return a new type object.

  4. builtins — Built-in objects — Python 3.14.2 documentation

    2 days ago · This module is not normally accessed explicitly by most applications, but can be useful in modules that provide objects with the same name as a built-in value, but in which the built-in of that …

  5. The Python Standard Library — Python 3.14.2 documentation

    2 days ago · The library contains built-in modules (written in C) that provide access to system functionality such as file I/O that would otherwise be inaccessible to Python programmers, as well as …

  6. Built-in Types — Python 3.14.2 documentation

    2 days ago · The principal built-in types are numerics, sequences, mappings, classes, instances and exceptions. Some collection classes are mutable. The methods that add, subtract, or rearrange their …

  7. warnings — Warning control — Python 3.14.2 documentation

    2 days ago · While these are technically built-in exceptions, they are documented here, because conceptually they belong to the warnings mechanism. User code can define additional warning …

  8. queue — A synchronized queue class — Python 3.14.2 documentation

    3 days ago · The method never blocks and always succeeds (except for potential low-level errors such as failure to allocate memory). The optional args block and timeout are ignored and only provided for …

  9. 1. Extending Python with C or C++ — Python 3.14.2 documentation

    2 days ago · There are predeclared C objects corresponding to all built-in Python exceptions, such as PyExc_ZeroDivisionError, which you can use directly. Of course, you should choose exceptions …

  10. json — JSON encoder and decoder — Python 3.14.2 documentation

    3 days ago · This can be used to raise an exception if invalid JSON numbers are encountered. If strict is false (True is the default), then control characters will be allowed inside strings.