💾 Archived View for tris.fyi › pydoc › _dbm captured on 2023-04-26 at 13:33:45. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-01-08)

-=-=-=-=-=-=-

Back to module index

Go to module by name

_dbm

This module has no docstring.

Classes

error

with_traceback(...)

  Exception.with_traceback(tb) --
      set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>
characters_written = <attribute 'characters_written' of 'OSError' objects>
errno = <member 'errno' of 'OSError' objects>
  POSIX exception code
filename = <member 'filename' of 'OSError' objects>
  exception filename
filename2 = <member 'filename2' of 'OSError' objects>
  second exception filename
strerror = <member 'strerror' of 'OSError' objects>
  exception strerror

Functions

open

open(filename, flags='r', mode=438, /)

  Return a database object.

    filename
      The filename to open.
    flags
      How to open the file.  "r" for reading, "w" for writing, etc.
    mode
      If creating a new file, the mode bits for the new file
      (e.g. os.O_RDWR).

Other members

library = 'GNU gdbm'