unittest.TestCase.assertSetEqual()
  • References/Python/Python/Development Tools

assertSetEqual(first, second, msg=None) Tests that two sets are equal. If not, an error message is constructed that lists the

2025-01-10 15:47:30
random.getrandbits()
  • References/Python/Python/Numeric & Mathematical

random.getrandbits(k) Returns a Python integer with k random bits. This method is supplied with the MersenneTwister

2025-01-10 15:47:30
decimal.Context.compare()
  • References/Python/Python/Numeric & Mathematical

compare(x, y) Compares x and y numerically.

2025-01-10 15:47:30
io.TextIOBase.detach()
  • References/Python/Python/Operating System

detach() Separate the underlying binary buffer from the TextIOBase and return it. After

2025-01-10 15:47:30
urllib.parse.parse_qsl()
  • References/Python/Python/Internet

urllib.parse.parse_qsl(qs, keep_blank_values=False, strict_parsing=False, encoding='utf-8', errors='replace') Parse a query

2025-01-10 15:47:30
ConnectionError
  • References/Python/Python/Built-in Exceptions

exception ConnectionError A base class for connection-related issues. Subclasses are

2025-01-10 15:47:30
socket.socket.set_inheritable()
  • References/Python/Python/Networking

socket.set_inheritable(inheritable) Set the

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

__delitem__(key) discard(key) These methods immediately delete the message. The MH convention of marking a message

2025-01-10 15:47:30
shlex.shlex.eof
  • References/Python/Python/Frameworks

shlex.eof Token used to determine end of file. This will be set to the empty string (''), in non-POSIX mode, and

2025-01-10 15:47:30
bytes.rsplit()
  • References/Python/Python/Built-in Types

bytes.rsplit(sep=None, maxsplit=-1) bytearray.rsplit(sep=None, maxsplit=-1) Split the binary sequence into subsequences

2025-01-10 15:47:30