memoryview.tobytes()
  • References/Python/Python/Built-in Types

tobytes() Return the data in the buffer as a bytestring. This is equivalent to calling the

2025-01-10 15:47:30
dis.show_code()
  • References/Python/Python/Language

dis.show_code(x, *, file=None) Print detailed code object information for the supplied function, method, source code string

2025-01-10 15:47:30
asyncio.new_event_loop()
  • References/Python/Python/Inputouput

asyncio.new_event_loop() Equivalent to calling get_event_loop_policy().new_event_loop().

2025-01-10 15:47:30
urllib.request.HTTPRedirectHandler
  • References/Python/Python/Internet

class urllib.request.HTTPRedirectHandler A class to handle redirections.

2025-01-10 15:47:30
types.MethodType
  • References/Python/Python/Data Types

types.MethodType The type of methods of user-defined class instances.

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

unittest.installHandler() Install the control-c handler. When a signal.SIGINT is received (usually in response

2025-01-10 15:47:30
ctypes.c_bool
  • References/Python/Python/Operating System

class ctypes.c_bool Represent the C bool datatype (more accurately, _Bool from C99). Its value can

2025-01-10 15:47:30
ftplib.FTP.set_pasv()
  • References/Python/Python/Internet

FTP.set_pasv(boolean) Enable “passive” mode if boolean is true, other disable passive mode. Passive mode is on by default

2025-01-10 15:47:30
email.message.Message.set_charset()
  • References/Python/Python/Internet Data

set_charset(charset) Set the character set of the payload to charset, which can either be a

2025-01-10 15:47:30
email.utils.parsedate_to_datetime()
  • References/Python/Python/Internet Data

email.utils.parsedate_to_datetime(date) The inverse of format_datetime(). Performs the same function as parsedate()

2025-01-10 15:47:30