stat.S_ISSOCK()
  • References/Python/Python/File & Directory Access

stat.S_ISSOCK(mode) Return non-zero if the mode is from a socket.

2025-01-10 15:47:30
doctest.register_optionflag()
  • References/Python/Python/Development Tools

doctest.register_optionflag(name) Create a new option flag with a given name, and return the new flag’s integer value.

2025-01-10 15:47:30
xml.sax.handler.ErrorHandler.error()
  • References/Python/Python/Structured Markup

ErrorHandler.error(exception) Called when the parser encounters a recoverable error. If this method does not raise an exception

2025-01-10 15:47:30
http.cookies.Morsel.key
  • References/Python/Python/Internet

Morsel.key The name of the cookie. Deprecated

2025-01-10 15:47:30
mailbox.MH.unlock()
  • References/Python/Python/Internet Data

unlock() Three locking mechanisms are used—dot locking and, if available, the flock() and lockf()

2025-01-10 15:47:30
argparse.ArgumentParser.add_argument_group()
  • References/Python/Python/Operating System

ArgumentParser.add_argument_group(title=None, description=None) By default, ArgumentParser groups command-line

2025-01-10 15:47:30
tracemalloc.StatisticDiff.count
  • References/Python/Python/Debugging & Profiling

count Number of memory blocks in the new snapshot (int): 0 if the memory blocks have been released

2025-01-10 15:47:30
importlib.machinery.PathFinder.invalidate_caches()
  • References/Python/Python/Importing

classmethod invalidate_caches() Calls importlib.abc.PathEntryFinder.invalidate_caches() on all finders stored in

2025-01-10 15:47:30
xdrlib.Unpacker.unpack_farray()
  • References/Python/Python/File Formats

Unpacker.unpack_farray(n, unpack_item) Unpacks and returns (as a list) a fixed length array of homogeneous items. n

2025-01-10 15:47:30
socketserver.BaseServer.server_bind()
  • References/Python/Python/Internet

server_bind() Called by the server’s constructor to bind the socket to the desired address. May be overridden.

2025-01-10 15:47:30