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
re.escape()
  • References/Python/Python/Text Processing

re.escape(string) Escape all the characters in pattern except ASCII letters, numbers and '_'. This is useful if

2025-01-10 15:47:30
winreg.EnableReflectionKey()
  • References/Python/Python/MS Windows

winreg.EnableReflectionKey(key) Restores registry reflection for the specified disabled key. key

2025-01-10 15:47:30
gzip.GzipFile.peek()
  • References/Python/Python/Data Compression

peek(n) Read n uncompressed bytes without advancing the file position. At most one single read on the compressed stream

2025-01-10 15:47:30
curses.halfdelay()
  • References/Python/Python/Operating System

curses.halfdelay(tenths) Used for half-delay mode, which is similar to cbreak mode in that characters typed by the user are

2025-01-10 15:47:30
wsgiref.handlers.BaseHandler.
  • References/Python/Python/Internet

_flush() Force buffered data to be transmitted to the client. It’s okay if this method is a no-op (i.e., if _write()

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

_length_ A positive integer specifying the number of elements in the array. Out-of-range subscripts result in an

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

make_mixed(boundary=None) Convert a non-multipart, a multipart/related, or a multipart-alternative

2025-01-10 15:47:30
binascii.b2a_hqx()
  • References/Python/Python/Internet Data

binascii.b2a_hqx(data) Perform hexbin4 binary-to-ASCII translation and return the resulting string. The argument should already

2025-01-10 15:47:30
typing.Union
  • References/Python/Python/Development Tools

class typing.Union Union type; Union[X, Y] means either X or Y. To define a union

2025-01-10 15:47:30