From 5023f42b59e47978c30bfe33615525e0b4e053a7 Mon Sep 17 00:00:00 2001
From: dvermd <315743+dvermd@users.noreply.github.com>
Date: Sat, 15 Oct 2022 19:03:56 +0200
Subject: [PATCH 1/8] Add Readme to project
---
README.md | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
create mode 100644 README.md
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..7dae751
--- /dev/null
+++ b/README.md
@@ -0,0 +1,43 @@
+
+
+# `__doc__` for [RustPython](https://rustpython.github.io/)
+
+This is the `__doc__` attributes generator for objects written in RustPython.
+
+It's composed of two parts of:
+
+- the `generate_docs.py` script that extracts the `__doc__` attributes from CPython to `docs.inc.rs`
+- the `rustpython-doc` rust crate that uses the `docs.inc.rs` file to create a documentation Database.
+
+This documentation database is then used by macros `pymodule` and `pyclass` macros of the rustpython-derive crate to automatically add the `__doc__` attribute.
+
+The `docs.inc.rs` database file can be generated with
+
+ $ python -m venv gendocs
+ $ source gendocs/bin/activate
+ $ python -I generate_docs.py docs.inc.rs
+ $ deactivate
+
+or using docker
+
+ $ docker pull python:slim
+ $ docker run python:slim python --version
+ Python 3.10.8
+ $ ls
+ __doc__ RustPython
+ $ docker run -v $(pwd):/RustPython -w /RustPython/__doc__ python:slim python generate_docs.py ../RustPython docs.inc.rs
+
+## Contributing
+
+Contributions are more than welcome, and in many cases we are happy to guide
+contributors through PRs or on gitter. Please refer to the
+[development guide](https://github.com/RustPython/RustPython/DEVELOPMENT.md) as well for tips on developments.
+
+## License
+
+This project is licensed under the MIT license. Please see the
+[LICENSE](https://github.com/RustPython/RustPython/LICENSE) file for more details.
+
+The [project logo](https://github.com/RustPython/RustPython/logo.png) is licensed under the CC-BY-4.0
+license. Please see the [LICENSE-logo](https://github.com/RustPython/RustPython/LICENSE-logo) file
+for more details.
From 58b28c7f21fe010950c3ad2e14298c41299de38d Mon Sep 17 00:00:00 2001
From: dvermd <315743+dvermd@users.noreply.github.com>
Date: Sat, 15 Oct 2022 19:06:00 +0200
Subject: [PATCH 2/8] Add function to builtins types not exported by CPython
---
generate_docs.py | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/generate_docs.py b/generate_docs.py
index 9bb9b41..5620053 100644
--- a/generate_docs.py
+++ b/generate_docs.py
@@ -122,6 +122,9 @@ def traverse_all(root):
continue
yield from traverse(module, [module_name], module)
+ def f():
+ pass
+
builtin_types = [
type(bytearray().__iter__()),
type(bytes().__iter__()),
@@ -136,10 +139,12 @@ def traverse_all(root):
type(str().__iter__()),
type(tuple().__iter__()),
type(None),
+ type(f),
]
for typ in builtin_types:
names = ["builtins", typ.__name__]
- yield names, typ.__doc__
+ if not isinstance(typ.__doc__, str):
+ yield names, typ.__doc__
yield from traverse(__builtins__, names, typ)
From 66150488fd6dde4da2f8dcaa9ec3aacfb6829a4d Mon Sep 17 00:00:00 2001
From: dvermd <315743+dvermd@users.noreply.github.com>
Date: Sat, 15 Oct 2022 19:16:48 +0200
Subject: [PATCH 3/8] update database with function type documentation
---
docs.inc.rs | 1240 ++++++++-------------------------------------------
1 file changed, 190 insertions(+), 1050 deletions(-)
diff --git a/docs.inc.rs b/docs.inc.rs
index 229f520..b3874e7 100644
--- a/docs.inc.rs
+++ b/docs.inc.rs
@@ -8,7 +8,6 @@
("_abc._reset_caches", Some("Internal ABC helper to reset both caches of a given class.\n\nShould be only used by refleak.py")),
("_abc._reset_registry", Some("Internal ABC helper to reset registry of a given class.\n\nShould be only used by refleak.py")),
("_abc.get_cache_token", Some("Returns the current ABC cache token.\n\nThe token is an opaque object (supporting equality testing) identifying the\ncurrent version of the ABC cache for virtual subclasses. The token changes\nwith every call to register() on any ABC.")),
- ("_codecs._forget_codec", Some("Purge the named codec from the internal codec lookup cache")),
("_codecs.ascii_decode", None),
("_codecs.ascii_encode", None),
("_codecs.charmap_build", None),
@@ -29,6 +28,7 @@
("_codecs.register_error", Some("Register the specified error handler under the name errors.\n\nhandler must be a callable object, that will be called with an exception\ninstance containing information about the location of the encoding/decoding\nerror and must return a (replacement, new position) tuple.")),
("_codecs.unicode_escape_decode", None),
("_codecs.unicode_escape_encode", None),
+ ("_codecs.unregister", Some("Unregister a codec search function and clear the registry's cache.\n\nIf the search function is not registered, do nothing.")),
("_codecs.utf_16_be_decode", None),
("_codecs.utf_16_be_encode", None),
("_codecs.utf_16_decode", None),
@@ -60,7 +60,7 @@
("_collections._tuplegetter.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
("_functools", Some("Tools that operate on functions.")),
("_functools.cmp_to_key", Some("Convert a cmp= function into a key= function.")),
- ("_functools.reduce", Some("reduce(function, sequence[, initial]) -> value\n\nApply a function of two arguments cumulatively to the items of a sequence,\nfrom left to right, so as to reduce the sequence to a single value.\nFor example, reduce(lambda x, y: x+y, [1, 2, 3, 4, 5]) calculates\n((((1+2)+3)+4)+5). If initial is present, it is placed before the items\nof the sequence in the calculation, and serves as a default when the\nsequence is empty.")),
+ ("_functools.reduce", Some("reduce(function, iterable[, initial]) -> value\n\nApply a function of two arguments cumulatively to the items of a sequence\nor iterable, from left to right, so as to reduce the iterable to a single\nvalue. For example, reduce(lambda x, y: x+y, [1, 2, 3, 4, 5]) calculates\n((((1+2)+3)+4)+5). If initial is present, it is placed before the items\nof the iterable in the calculation, and serves as a default when the\niterable is empty.")),
("_imp", Some("(Extremely) low-level import machinery bits as used by importlib and imp.")),
("_imp._fix_co_filename", Some("Changes code.co_filename to specify the passed-in file path.\n\n code\n Code object to change.\n path\n File path to use.")),
("_imp.acquire_lock", Some("Acquires the interpreter's import lock for the current thread.\n\nThis lock should be used by import hooks to ensure thread-safety when importing\nmodules. On platforms without threads, this function does nothing.")),
@@ -131,11 +131,18 @@
("_io._TextIOBase.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
("_io._TextIOBase.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
("_locale", Some("Support for POSIX locales.")),
- ("_locale.localeconv", Some("() -> dict. Returns numeric and monetary locale-specific parameters.")),
- ("_locale.nl_langinfo", Some("nl_langinfo(key) -> string\nReturn the value for the locale information associated with key.")),
- ("_locale.setlocale", Some("(integer,string=None) -> string. Activates/queries locale processing.")),
- ("_locale.strcoll", Some("string,string -> int. Compares two strings according to the locale.")),
- ("_locale.strxfrm", Some("strxfrm(string) -> string.\n\nReturn a string that can be used as a key for locale-aware comparisons.")),
+ ("_locale._get_locale_encoding", Some("Get the current locale encoding.")),
+ ("_locale.bind_textdomain_codeset", Some("Bind the C library's domain to codeset.")),
+ ("_locale.bindtextdomain", Some("Bind the C library's domain to dir.")),
+ ("_locale.dcgettext", Some("Return translation of msg in domain and category.")),
+ ("_locale.dgettext", Some("dgettext(domain, msg) -> string\n\nReturn translation of msg in domain.")),
+ ("_locale.gettext", Some("gettext(msg) -> string\n\nReturn translation of msg.")),
+ ("_locale.localeconv", Some("Returns numeric and monetary locale-specific parameters.")),
+ ("_locale.nl_langinfo", Some("Return the value for the locale information associated with key.")),
+ ("_locale.setlocale", Some("Activates/queries locale processing.")),
+ ("_locale.strcoll", Some("Compares two strings according to the locale.")),
+ ("_locale.strxfrm", Some("Return a string that can be used as a key for locale-aware comparisons.")),
+ ("_locale.textdomain", Some("Set the C library's textdmain to domain, returning the new domain.")),
("_operator", Some("Operator interface.\n\nThis module exports a set of functions implemented in C corresponding\nto the intrinsic operators of Python. For example, operator.add(x, y)\nis equivalent to the expression x+y. The function names are those\nused for special methods; variants without leading and trailing\n'__' are also provided for convenience.")),
("_operator._compare_digest", Some("Return 'a == b'.\n\nThis function uses an approach designed to prevent\ntiming analysis, making it appropriate for cryptography.\n\na and b must both be of the same type: either str (ASCII only),\nor any bytes-like object.\n\nNote: If a and b are of different lengths, or if an error occurs,\na timing attack could theoretically reveal information about the\ntypes and lengths of a and b--but not their values.")),
("_operator.abs", Some("Same as abs(a).")),
@@ -189,13 +196,13 @@
("_operator.truediv", Some("Same as a / b.")),
("_operator.truth", Some("Return True if a is true, False otherwise.")),
("_operator.xor", Some("Same as a ^ b.")),
- ("_peg_parser", Some("A parser.")),
("_signal", Some("This module provides mechanisms to use signal handlers in Python.\n\nFunctions:\n\nalarm() -- cause SIGALRM after a specified time [Unix only]\nsetitimer() -- cause a signal (described below) after a specified\n float time and the timer may restart then [Unix only]\ngetitimer() -- get current value of timer [Unix only]\nsignal() -- set the action for a given signal\ngetsignal() -- get the signal action for a given signal\npause() -- wait until a signal arrives [Unix only]\ndefault_int_handler() -- default SIGINT handler\n\nsignal constants:\nSIG_DFL -- used to refer to the system default handler\nSIG_IGN -- used to ignore the signal\nNSIG -- number of defined signals\nSIGINT, SIGTERM, etc. -- signal numbers\n\nitimer constants:\nITIMER_REAL -- decrements in real time, and delivers SIGALRM upon\n expiration\nITIMER_VIRTUAL -- decrements only when the process is executing,\n and delivers SIGVTALRM upon expiration\nITIMER_PROF -- decrements both when the process is executing and\n when the system is executing on behalf of the process.\n Coupled with ITIMER_VIRTUAL, this timer is usually\n used to profile the time spent by the application\n in user and kernel space. SIGPROF is delivered upon\n expiration.\n\n\n*** IMPORTANT NOTICE ***\nA signal handler function is called with two arguments:\nthe first is the signal number, the second is the interrupted stack frame.")),
("_signal.alarm", Some("Arrange for SIGALRM to arrive after the given number of seconds.")),
- ("_signal.default_int_handler", Some("default_int_handler(...)\n\nThe default handler for SIGINT installed by Python.\nIt raises KeyboardInterrupt.")),
+ ("_signal.default_int_handler", Some("The default handler for SIGINT installed by Python.\n\nIt raises KeyboardInterrupt.")),
("_signal.getitimer", Some("Returns current value of given itimer.")),
("_signal.getsignal", Some("Return the current action for the given signal.\n\nThe return value can be:\n SIG_IGN -- if the signal is being ignored\n SIG_DFL -- if the default action for the signal is in effect\n None -- if an unknown handler is in effect\n anything else -- the callable Python object used as a handler")),
("_signal.pause", Some("Wait until a signal arrives.")),
+ ("_signal.pidfd_send_signal", Some("Send a signal to a process referred to by a pid file descriptor.")),
("_signal.pthread_kill", Some("Send a signal to a thread.")),
("_signal.pthread_sigmask", Some("Fetch and/or change the signal mask of the calling thread.")),
("_signal.raise_signal", Some("Send a signal to the executing process.")),
@@ -204,7 +211,9 @@
("_signal.siginterrupt", Some("Change system call restart behaviour.\n\nIf flag is False, system calls will be restarted when interrupted by\nsignal sig, else system calls will be interrupted.")),
("_signal.signal", Some("Set the action for the given signal.\n\nThe action can be SIG_DFL, SIG_IGN, or a callable Python object.\nThe previous action is returned. See getsignal() for possible return values.\n\n*** IMPORTANT NOTICE ***\nA signal handler function is called with two arguments:\nthe first is the signal number, the second is the interrupted stack frame.")),
("_signal.sigpending", Some("Examine pending signals.\n\nReturns a set of signal numbers that are pending for delivery to\nthe calling thread.")),
+ ("_signal.sigtimedwait", Some("Like sigwaitinfo(), but with a timeout.\n\nThe timeout is specified in seconds, with floating point numbers allowed.")),
("_signal.sigwait", Some("Wait for a signal.\n\nSuspend execution of the calling thread until the delivery of one of the\nsignals specified in the signal set sigset. The function accepts the signal\nand returns the signal number.")),
+ ("_signal.sigwaitinfo", Some("Wait synchronously until one of the signals in *sigset* is delivered.\n\nReturns a struct_siginfo containing information about the signal.")),
("_signal.strsignal", Some("Return the system description of the given signal.\n\nThe return values can be such as \"Interrupt\", \"Segmentation fault\", etc.\nReturns None if the signal is not recognized.")),
("_signal.valid_signals", Some("Return a set of valid signal numbers on this platform.\n\nThe signal numbers returned by this function can be safely passed to\nfunctions like `pthread_sigmask`.")),
("_sre.ascii_iscased", None),
@@ -257,21 +266,10 @@
("_thread.exit_thread", Some("exit()\n(exit_thread() is an obsolete synonym)\n\nThis is synonymous to ``raise SystemExit''. It will cause the current\nthread to exit silently unless the exception is caught.")),
("_thread.get_ident", Some("get_ident() -> integer\n\nReturn a non-zero integer that uniquely identifies the current thread\namongst other threads that exist simultaneously.\nThis may be used to identify per-thread resources.\nEven though on some platforms threads identities may appear to be\nallocated consecutive numbers starting at 1, this behavior should not\nbe relied upon, and the number should be seen purely as a magic cookie.\nA thread's identity may be reused for another thread after it exits.")),
("_thread.get_native_id", Some("get_native_id() -> integer\n\nReturn a non-negative integer identifying the thread as reported\nby the OS (kernel). This may be used to uniquely identify a\nparticular thread within a system.")),
- ("_thread.interrupt_main", Some("interrupt_main()\n\nRaise a KeyboardInterrupt in the main thread.\nA subthread can use this function to interrupt the main thread.")),
+ ("_thread.interrupt_main", Some("interrupt_main(signum=signal.SIGINT, /)\n\nSimulate the arrival of the given signal in the main thread,\nwhere the corresponding signal handler will be executed.\nIf *signum* is omitted, SIGINT is assumed.\nA subthread can use this function to interrupt the main thread.\n\nNote: the default signal handler for SIGINT raises ``KeyboardInterrupt``.")),
("_thread.stack_size", Some("stack_size([size]) -> size\n\nReturn the thread stack size used when creating new threads. The\noptional size argument specifies the stack size (in bytes) to be used\nfor subsequently created threads, and must be 0 (use platform or\nconfigured default) or a positive integer value of at least 32,768 (32k).\nIf changing the thread stack size is unsupported, a ThreadError\nexception is raised. If the specified size is invalid, a ValueError\nexception is raised, and the stack size is unmodified. 32k bytes\n currently the minimum supported stack size value to guarantee\nsufficient stack space for the interpreter itself.\n\nNote that some platforms may have particular restrictions on values for\nthe stack size, such as requiring a minimum stack size larger than 32 KiB or\nrequiring allocation in multiples of the system memory page size\n- platform documentation should be referred to for more information\n(4 KiB pages are common; using multiples of 4096 for the stack size is\nthe suggested approach in the absence of more specific information).")),
("_thread.start_new", Some("start_new_thread(function, args[, kwargs])\n(start_new() is an obsolete synonym)\n\nStart a new thread and return its identifier. The thread will call the\nfunction with positional arguments from the tuple args and keyword arguments\ntaken from the optional dictionary kwargs. The thread exits when the\nfunction returns; the return value is ignored. The thread will also exit\nwhen the function raises an unhandled exception; a stack trace will be\nprinted unless the exception is SystemExit.\n")),
("_thread.start_new_thread", Some("start_new_thread(function, args[, kwargs])\n(start_new() is an obsolete synonym)\n\nStart a new thread and return its identifier. The thread will call the\nfunction with positional arguments from the tuple args and keyword arguments\ntaken from the optional dictionary kwargs. The thread exits when the\nfunction returns; the return value is ignored. The thread will also exit\nwhen the function raises an unhandled exception; a stack trace will be\nprinted unless the exception is SystemExit.\n")),
- ("_tracemalloc", Some("Debug module to trace memory blocks allocated by Python.")),
- ("_tracemalloc._get_object_traceback", Some("Get the traceback where the Python object obj was allocated.\n\nReturn a tuple of (filename: str, lineno: int) tuples.\nReturn None if the tracemalloc module is disabled or did not\ntrace the allocation of the object.")),
- ("_tracemalloc._get_traces", Some("Get traces of all memory blocks allocated by Python.\n\nReturn a list of (size: int, traceback: tuple) tuples.\ntraceback is a tuple of (filename: str, lineno: int) tuples.\n\nReturn an empty list if the tracemalloc module is disabled.")),
- ("_tracemalloc.clear_traces", Some("Clear traces of memory blocks allocated by Python.")),
- ("_tracemalloc.get_traceback_limit", Some("Get the maximum number of frames stored in the traceback of a trace.\n\nBy default, a trace of an allocated memory block only stores\nthe most recent frame: the limit is 1.")),
- ("_tracemalloc.get_traced_memory", Some("Get the current size and peak size of memory blocks traced by tracemalloc.\n\nReturns a tuple: (current: int, peak: int).")),
- ("_tracemalloc.get_tracemalloc_memory", Some("Get the memory usage in bytes of the tracemalloc module.\n\nThis memory is used internally to trace memory allocations.")),
- ("_tracemalloc.is_tracing", Some("Return True if the tracemalloc module is tracing Python memory allocations.")),
- ("_tracemalloc.reset_peak", Some("Set the peak size of memory blocks traced by tracemalloc to the current size.\n\nDo nothing if the tracemalloc module is not tracing memory allocations.")),
- ("_tracemalloc.start", Some("Start tracing Python memory allocations.\n\nAlso set the maximum number of frames stored in the traceback of a\ntrace to nframe.")),
- ("_tracemalloc.stop", Some("Stop tracing Python memory allocations.\n\nAlso clear traces of memory blocks allocated by Python.")),
("_warnings", Some("_warnings provides basic warning filtering support.\nIt is a helper module to speed up interpreter start-up.")),
("_warnings._filters_mutated", None),
("_warnings.warn", Some("Issue a warning, or maybe ignore it or raise an exception.")),
@@ -281,10 +279,10 @@
("_weakref.getweakrefcount", Some("Return the number of weak references to 'object'.")),
("_weakref.getweakrefs", Some("getweakrefs(object) -- return a list of all weak reference objects\nthat point to 'object'.")),
("_weakref.proxy", Some("proxy(object[, callback]) -- create a proxy object that weakly\nreferences 'object'. 'callback', if given, is called with a\nreference to the proxy when 'object' is about to be finalized.")),
- ("atexit", Some("allow programmer to define multiple exit functions to be executedupon normal program termination.\n\nTwo public functions, register and unregister, are defined.\n")),
+ ("atexit", Some("allow programmer to define multiple exit functions to be executed\nupon normal program termination.\n\nTwo public functions, register and unregister, are defined.\n")),
("atexit._clear", Some("_clear() -> None\n\nClear the list of previously registered exit functions.")),
("atexit._ncallbacks", Some("_ncallbacks() -> int\n\nReturn the number of registered exit functions.")),
- ("atexit._run_exitfuncs", Some("_run_exitfuncs() -> None\n\nRun all registered exit functions.")),
+ ("atexit._run_exitfuncs", Some("_run_exitfuncs() -> None\n\nRun all registered exit functions.\n\nIf a callback raises an exception, it is logged with sys.unraisablehook.")),
("atexit.register", Some("register(func, *args, **kwargs) -> func\n\nRegister a function to be executed upon normal program termination\n\n func - function to be called at exit\n args - optional arguments to pass to func\n kwargs - optional keyword arguments to pass to func\n\n func is returned to facilitate usage as a decorator.")),
("atexit.unregister", Some("unregister(func) -> None\n\nUnregister an exit function which was previously registered using\natexit.register\n\n func - function to be unregistered")),
("builtins", Some("Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.")),
@@ -348,6 +346,10 @@
("builtins.EOFError.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
("builtins.EOFError.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
("builtins.EOFError.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
+ ("builtins.EncodingWarning", Some("Base class for warnings about encodings.")),
+ ("builtins.EncodingWarning.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
+ ("builtins.EncodingWarning.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
+ ("builtins.EncodingWarning.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
("builtins.EnvironmentError", Some("Base class for I/O related errors.")),
("builtins.EnvironmentError.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
("builtins.EnvironmentError.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
@@ -555,7 +557,9 @@
("builtins.__build_class__", Some("__build_class__(func, name, /, *bases, [metaclass], **kwds) -> class\n\nInternal helper function used by the class statement.")),
("builtins.__import__", Some("__import__(name, globals=None, locals=None, fromlist=(), level=0) -> module\n\nImport a module. Because this function is meant for use by the Python\ninterpreter and not for general use, it is better to use\nimportlib.import_module() to programmatically import a module.\n\nThe globals argument is only used to determine the context;\nthey are not modified. The locals argument is unused. The fromlist\nshould be a list of names to emulate ``from name import ...'', or an\nempty list to emulate ``import name''.\nWhen importing a module from a package, note that __import__('A.B', ...)\nreturns package A when fromlist is empty, but its submodule B when\nfromlist is not empty. The level argument is used to determine whether to\nperform absolute or relative imports: 0 is absolute, while a positive number\nis the number of parent directories to search relative to the current module.")),
("builtins.abs", Some("Return the absolute value of the argument.")),
+ ("builtins.aiter", Some("Return an AsyncIterator for an AsyncIterable object.")),
("builtins.all", Some("Return True if bool(x) is True for all values x in the iterable.\n\nIf the iterable is empty, return True.")),
+ ("builtins.anext", Some("Return the next item from the async iterator.")),
("builtins.any", Some("Return True if bool(x) is True for any x in the iterable.\n\nIf the iterable is empty, return False.")),
("builtins.ascii", Some("Return an ASCII-only representation of an object.\n\nAs repr(), return a string containing a printable representation of an\nobject, but escape the non-ASCII characters in the string returned by\nrepr() using \\\\x, \\\\u or \\\\U escapes. This generates a string similar\nto that returned by repr() in Python 2.")),
("builtins.bin", Some("Return the binary representation of an integer.\n\n >>> bin(2796202)\n '0b1010101010101010101010'")),
@@ -634,7 +638,7 @@
("builtins.int.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
("builtins.int.from_bytes", Some("Return the integer represented by the given array of bytes.\n\n bytes\n Holds the array of bytes to convert. The argument must either\n support the buffer protocol or be an iterable object producing bytes.\n Bytes and bytearray are examples of built-in objects that support the\n buffer protocol.\n byteorder\n The byte order used to represent the integer. If byteorder is 'big',\n the most significant byte is at the beginning of the byte array. If\n byteorder is 'little', the most significant byte is at the end of the\n byte array. To request the native byte order of the host system, use\n `sys.byteorder' as the byte order value.\n signed\n Indicates whether two's complement is used to represent the integer.")),
("builtins.isinstance", Some("Return whether an object is an instance of a class or of a subclass thereof.\n\nA tuple, as in ``isinstance(x, (A, B, ...))``, may be given as the target to\ncheck against. This is equivalent to ``isinstance(x, A) or isinstance(x, B)\nor ...`` etc.")),
- ("builtins.issubclass", Some("Return whether 'cls' is a derived from another class or is the same class.\n\nA tuple, as in ``issubclass(x, (A, B, ...))``, may be given as the target to\ncheck against. This is equivalent to ``issubclass(x, A) or issubclass(x, B)\nor ...`` etc.")),
+ ("builtins.issubclass", Some("Return whether 'cls' is derived from another class or is the same class.\n\nA tuple, as in ``issubclass(x, (A, B, ...))``, may be given as the target to\ncheck against. This is equivalent to ``issubclass(x, A) or issubclass(x, B)\nor ...``.")),
("builtins.iter", Some("iter(iterable) -> iterator\niter(callable, sentinel) -> iterator\n\nGet an iterator from an object. In the first form, the argument must\nsupply its own iterator, or be a sequence.\nIn the second form, the callable is called until it returns the sentinel.")),
("builtins.len", Some("Return the number of items in a container.")),
("builtins.list", Some("Built-in mutable sequence.\n\nIf no argument is given, the constructor creates a new empty list.\nThe argument must be an iterable if specified.")),
@@ -716,13 +720,12 @@
("builtins.type.__prepare__", Some("__prepare__() -> dict\nused to create the namespace for the class statement")),
("builtins.type.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
("builtins.vars", Some("vars([object]) -> dictionary\n\nWithout arguments, equivalent to locals().\nWith an argument, equivalent to object.__dict__.")),
- ("builtins.zip", Some("zip(*iterables) --> A zip object yielding tuples until an input is exhausted.\n\n >>> list(zip('abcdefg', range(3), range(4)))\n [('a', 0, 0), ('b', 1, 1), ('c', 2, 2)]\n\nThe zip object yields n-length tuples, where n is the number of iterables\npassed as positional arguments to zip(). The i-th element in every tuple\ncomes from the i-th iterable argument to zip(). This continues until the\nshortest argument is exhausted.")),
+ ("builtins.zip", Some("zip(*iterables, strict=False) --> Yield tuples until an input is exhausted.\n\n >>> list(zip('abcdefg', range(3), range(4)))\n [('a', 0, 0), ('b', 1, 1), ('c', 2, 2)]\n\nThe zip object yields n-length tuples, where n is the number of iterables\npassed as positional arguments to zip(). The i-th element in every tuple\ncomes from the i-th iterable argument to zip(). This continues until the\nshortest argument is exhausted.\n\nIf strict is true and one of the arguments is exhausted before the others,\nraise a ValueError.")),
("builtins.zip.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
("builtins.zip.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
("builtins.zip.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
("errno", Some("This module makes available standard errno system symbols.\n\nThe value of each symbol is the corresponding integer value,\ne.g., on most systems, errno.ENOENT equals the integer 2.\n\nThe dictionary errno.errorcode maps numeric codes to symbol names,\ne.g., errno.errorcode[2] could be the string 'ENOENT'.\n\nSymbols that are not relevant to the underlying system are not defined.\n\nTo map error codes to error messages, use the function os.strerror(),\ne.g. os.strerror(2) could return 'No such file or directory'.")),
("faulthandler", Some("faulthandler module.")),
- ("faulthandler._fatal_error", Some("_fatal_error(message): call Py_FatalError(message)")),
("faulthandler._fatal_error_c_thread", Some("fatal_error_c_thread(): call Py_FatalError() in a new C thread.")),
("faulthandler._read_null", Some("_read_null(): read from NULL, raise a SIGSEGV or SIGBUS signal depending on the platform")),
("faulthandler._sigabrt", Some("_sigabrt(): raise a SIGABRT signal")),
@@ -756,7 +759,7 @@
("gc.set_debug", Some("Set the garbage collection debugging flags.\n\n flags\n An integer that can have the following bits turned on:\n DEBUG_STATS - Print statistics during collection.\n DEBUG_COLLECTABLE - Print collectable objects found.\n DEBUG_UNCOLLECTABLE - Print unreachable but uncollectable objects\n found.\n DEBUG_SAVEALL - Save objects to gc.garbage rather than freeing them.\n DEBUG_LEAK - Debug leaking programs (everything but STATS).\n\nDebugging information is written to sys.stderr.")),
("gc.set_threshold", Some("set_threshold(threshold0, [threshold1, threshold2]) -> None\n\nSets the collection thresholds. Setting threshold0 to zero disables\ncollection.\n")),
("gc.unfreeze", Some("Unfreeze all objects in the permanent generation.\n\nPut all objects in the permanent generation back into oldest generation.")),
- ("itertools", Some("Functional tools for creating and using iterators.\n\nInfinite iterators:\ncount(start=0, step=1) --> start, start+step, start+2*step, ...\ncycle(p) --> p0, p1, ... plast, p0, p1, ...\nrepeat(elem [,n]) --> elem, elem, elem, ... endlessly or up to n times\n\nIterators terminating on the shortest input sequence:\naccumulate(p[, func]) --> p0, p0+p1, p0+p1+p2\nchain(p, q, ...) --> p0, p1, ... plast, q0, q1, ...\nchain.from_iterable([p, q, ...]) --> p0, p1, ... plast, q0, q1, ...\ncompress(data, selectors) --> (d[0] if s[0]), (d[1] if s[1]), ...\ndropwhile(pred, seq) --> seq[n], seq[n+1], starting when pred fails\ngroupby(iterable[, keyfunc]) --> sub-iterators grouped by value of keyfunc(v)\nfilterfalse(pred, seq) --> elements of seq where pred(elem) is False\nislice(seq, [start,] stop [, step]) --> elements from\n seq[start:stop:step]\nstarmap(fun, seq) --> fun(*seq[0]), fun(*seq[1]), ...\ntee(it, n=2) --> (it1, it2 , ... itn) splits one iterator into n\ntakewhile(pred, seq) --> seq[0], seq[1], until pred fails\nzip_longest(p, q, ...) --> (p[0], q[0]), (p[1], q[1]), ...\n\nCombinatoric generators:\nproduct(p, q, ... [repeat=1]) --> cartesian product\npermutations(p[, r])\ncombinations(p, r)\ncombinations_with_replacement(p, r)\n")),
+ ("itertools", Some("Functional tools for creating and using iterators.\n\nInfinite iterators:\ncount(start=0, step=1) --> start, start+step, start+2*step, ...\ncycle(p) --> p0, p1, ... plast, p0, p1, ...\nrepeat(elem [,n]) --> elem, elem, elem, ... endlessly or up to n times\n\nIterators terminating on the shortest input sequence:\naccumulate(p[, func]) --> p0, p0+p1, p0+p1+p2\nchain(p, q, ...) --> p0, p1, ... plast, q0, q1, ...\nchain.from_iterable([p, q, ...]) --> p0, p1, ... plast, q0, q1, ...\ncompress(data, selectors) --> (d[0] if s[0]), (d[1] if s[1]), ...\ndropwhile(pred, seq) --> seq[n], seq[n+1], starting when pred fails\ngroupby(iterable[, keyfunc]) --> sub-iterators grouped by value of keyfunc(v)\nfilterfalse(pred, seq) --> elements of seq where pred(elem) is False\nislice(seq, [start,] stop [, step]) --> elements from\n seq[start:stop:step]\npairwise(s) --> (s[0],s[1]), (s[1],s[2]), (s[2], s[3]), ...\nstarmap(fun, seq) --> fun(*seq[0]), fun(*seq[1]), ...\ntee(it, n=2) --> (it1, it2 , ... itn) splits one iterator into n\ntakewhile(pred, seq) --> seq[0], seq[1], until pred fails\nzip_longest(p, q, ...) --> (p[0], q[0]), (p[1], q[1]), ...\n\nCombinatoric generators:\nproduct(p, q, ... [repeat=1]) --> cartesian product\npermutations(p[, r])\ncombinations(p, r)\ncombinations_with_replacement(p, r)\n")),
("itertools._grouper.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
("itertools._grouper.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
("itertools._grouper.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
@@ -814,6 +817,10 @@
("itertools.islice.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
("itertools.islice.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
("itertools.islice.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
+ ("itertools.pairwise", Some("Return an iterator of overlapping pairs taken from the input iterator.\n\n s -> (s0,s1), (s1,s2), (s2, s3), ...")),
+ ("itertools.pairwise.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
+ ("itertools.pairwise.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
+ ("itertools.pairwise.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
("itertools.permutations", Some("Return successive r-length permutations of elements in the iterable.\n\npermutations(range(3), 2) --> (0,1), (0,2), (1,0), (1,2), (2,0), (2,1)")),
("itertools.permutations.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
("itertools.permutations.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
@@ -858,27 +865,30 @@
("posix.WSTOPSIG", Some("Return the signal that stopped the process that provided the status value.")),
("posix.WTERMSIG", Some("Return the signal that terminated the process that provided the status value.")),
("posix._exit", Some("Exit to the system with specified status, without normal exit processing.")),
- ("posix._fcopyfile", Some("Efficiently copy content or metadata of 2 regular file descriptors (macOS).")),
("posix.abort", Some("Abort the interpreter immediately.\n\nThis function 'dumps core' or otherwise fails in the hardest way possible\non the hosting operating system. This function never returns.")),
("posix.access", Some("Use the real uid/gid to test for access to a path.\n\n path\n Path to be tested; can be string, bytes, or a path-like object.\n mode\n Operating-system mode bitfield. Can be F_OK to test existence,\n or the inclusive-OR of R_OK, W_OK, and X_OK.\n dir_fd\n If not None, it should be a file descriptor open to a directory,\n and path should be relative; path will then be relative to that\n directory.\n effective_ids\n If True, access will use the effective uid/gid instead of\n the real uid/gid.\n follow_symlinks\n If False, and the last element of the path is a symbolic link,\n access will examine the symbolic link itself instead of the file\n the link points to.\n\ndir_fd, effective_ids, and follow_symlinks may not be implemented\n on your platform. If they are unavailable, using them will raise a\n NotImplementedError.\n\nNote that most operations will use the effective uid/gid, therefore this\n routine can be used in a suid/sgid environment to test if the invoking user\n has the specified access to the path.")),
("posix.chdir", Some("Change the current working directory to the specified path.\n\npath may always be specified as a string.\nOn some platforms, path may also be specified as an open file descriptor.\n If this functionality is unavailable, using it raises an exception.")),
- ("posix.chflags", Some("Set file flags.\n\nIf follow_symlinks is False, and the last element of the path is a symbolic\n link, chflags will change flags on the symbolic link itself instead of the\n file the link points to.\nfollow_symlinks may not be implemented on your platform. If it is\nunavailable, using it will raise a NotImplementedError.")),
("posix.chmod", Some("Change the access permissions of a file.\n\n path\n Path to be modified. May always be specified as a str, bytes, or a path-like object.\n On some platforms, path may also be specified as an open file descriptor.\n If this functionality is unavailable, using it raises an exception.\n mode\n Operating-system mode bitfield.\n dir_fd\n If not None, it should be a file descriptor open to a directory,\n and path should be relative; path will then be relative to that\n directory.\n follow_symlinks\n If False, and the last element of the path is a symbolic link,\n chmod will modify the symbolic link itself instead of the file\n the link points to.\n\nIt is an error to use dir_fd or follow_symlinks when specifying path as\n an open file descriptor.\ndir_fd and follow_symlinks may not be implemented on your platform.\n If they are unavailable, using them will raise a NotImplementedError.")),
("posix.chown", Some("Change the owner and group id of path to the numeric uid and gid.\\\n\n path\n Path to be examined; can be string, bytes, a path-like object, or open-file-descriptor int.\n dir_fd\n If not None, it should be a file descriptor open to a directory,\n and path should be relative; path will then be relative to that\n directory.\n follow_symlinks\n If False, and the last element of the path is a symbolic link,\n stat will examine the symbolic link itself instead of the file\n the link points to.\n\npath may always be specified as a string.\nOn some platforms, path may also be specified as an open file descriptor.\n If this functionality is unavailable, using it raises an exception.\nIf dir_fd is not None, it should be a file descriptor open to a directory,\n and path should be relative; path will then be relative to that directory.\nIf follow_symlinks is False, and the last element of the path is a symbolic\n link, chown will modify the symbolic link itself instead of the file the\n link points to.\nIt is an error to use dir_fd or follow_symlinks when specifying path as\n an open file descriptor.\ndir_fd and follow_symlinks may not be implemented on your platform.\n If they are unavailable, using them will raise a NotImplementedError.")),
("posix.chroot", Some("Change root directory to path.")),
("posix.close", Some("Close a file descriptor.")),
("posix.closerange", Some("Closes all file descriptors in [fd_low, fd_high), ignoring errors.")),
("posix.confstr", Some("Return a string-valued system configuration variable.")),
+ ("posix.copy_file_range", Some("Copy count bytes from one file descriptor to another.\n\n src\n Source file descriptor.\n dst\n Destination file descriptor.\n count\n Number of bytes to copy.\n offset_src\n Starting offset in src.\n offset_dst\n Starting offset in dst.\n\nIf offset_src is None, then src is read from the current position;\nrespectively for offset_dst.")),
("posix.cpu_count", Some("Return the number of CPUs in the system; return None if indeterminable.\n\nThis number is not equivalent to the number of CPUs the current process can\nuse. The number of usable CPUs can be obtained with\n``len(os.sched_getaffinity(0))``")),
("posix.ctermid", Some("Return the name of the controlling terminal for this process.")),
("posix.device_encoding", Some("Return a string describing the encoding of a terminal's file descriptor.\n\nThe file descriptor must be attached to a terminal.\nIf the device is not a terminal, return None.")),
("posix.dup", Some("Return a duplicate of a file descriptor.")),
("posix.dup2", Some("Duplicate file descriptor.")),
+ ("posix.eventfd", Some("Creates and returns an event notification file descriptor.")),
+ ("posix.eventfd_read", Some("Read eventfd value")),
+ ("posix.eventfd_write", Some("Write eventfd value.")),
("posix.execv", Some("Execute an executable path with arguments, replacing current process.\n\n path\n Path of executable file.\n argv\n Tuple or list of strings.")),
("posix.execve", Some("Execute an executable path with arguments, replacing current process.\n\n path\n Path of executable file.\n argv\n Tuple or list of strings.\n env\n Dictionary of strings mapping to strings.")),
("posix.fchdir", Some("Change to the directory of the given file descriptor.\n\nfd must be opened on a directory, not a file.\nEquivalent to os.chdir(fd).")),
("posix.fchmod", Some("Change the access permissions of the file given by file descriptor fd.\n\nEquivalent to os.chmod(fd, mode).")),
("posix.fchown", Some("Change the owner and group id of the file specified by file descriptor.\n\nEquivalent to os.chown(fd, uid, gid).")),
+ ("posix.fdatasync", Some("Force write of fd to disk without forcing update of metadata.")),
("posix.fork", Some("Fork a child process.\n\nReturn 0 to child process and PID of child to parent process.")),
("posix.forkpty", Some("Fork a new process with a new pseudo-terminal as controlling tty.\n\nReturns a tuple of (pid, master_fd).\nLike fork(), return pid of 0 to the child process,\nand pid of child to the parent process.\nTo both, return fd of newly opened pseudo-terminal.")),
("posix.fpathconf", Some("Return the configuration limit name for the file descriptor fd.\n\nIf there is no limit, return -1.")),
@@ -904,47 +914,70 @@
("posix.getpid", Some("Return the current process id.")),
("posix.getppid", Some("Return the parent's process id.\n\nIf the parent process has already exited, Windows machines will still\nreturn its id; others systems will return the id of the 'init' process (1).")),
("posix.getpriority", Some("Return program scheduling priority.")),
+ ("posix.getrandom", Some("Obtain a series of random bytes.")),
+ ("posix.getresgid", Some("Return a tuple of the current process's real, effective, and saved group ids.")),
+ ("posix.getresuid", Some("Return a tuple of the current process's real, effective, and saved user ids.")),
("posix.getsid", Some("Call the system call getsid(pid) and return the result.")),
("posix.getuid", Some("Return the current process's user id.")),
+ ("posix.getxattr", Some("Return the value of extended attribute attribute on path.\n\npath may be either a string, a path-like object, or an open file descriptor.\nIf follow_symlinks is False, and the last element of the path is a symbolic\n link, getxattr will examine the symbolic link itself instead of the file\n the link points to.")),
("posix.initgroups", Some("Initialize the group access list.\n\nCall the system initgroups() to initialize the group access list with all of\nthe groups of which the specified username is a member, plus the specified\ngroup id.")),
("posix.isatty", Some("Return True if the fd is connected to a terminal.\n\nReturn True if the file descriptor is an open file descriptor\nconnected to the slave end of a terminal.")),
("posix.kill", Some("Kill a process with a signal.")),
("posix.killpg", Some("Kill a process group with a signal.")),
- ("posix.lchflags", Some("Set file flags.\n\nThis function will not follow symbolic links.\nEquivalent to chflags(path, flags, follow_symlinks=False).")),
- ("posix.lchmod", Some("Change the access permissions of a file, without following symbolic links.\n\nIf path is a symlink, this affects the link itself rather than the target.\nEquivalent to chmod(path, mode, follow_symlinks=False).\"")),
("posix.lchown", Some("Change the owner and group id of path to the numeric uid and gid.\n\nThis function will not follow symbolic links.\nEquivalent to os.chown(path, uid, gid, follow_symlinks=False).")),
("posix.link", Some("Create a hard link to a file.\n\nIf either src_dir_fd or dst_dir_fd is not None, it should be a file\n descriptor open to a directory, and the respective path string (src or dst)\n should be relative; the path will then be relative to that directory.\nIf follow_symlinks is False, and the last element of src is a symbolic\n link, link will create a link to the symbolic link itself instead of the\n file the link points to.\nsrc_dir_fd, dst_dir_fd, and follow_symlinks may not be implemented on your\n platform. If they are unavailable, using them will raise a\n NotImplementedError.")),
("posix.listdir", Some("Return a list containing the names of the files in the directory.\n\npath can be specified as either str, bytes, or a path-like object. If path is bytes,\n the filenames returned will also be bytes; in all other circumstances\n the filenames returned will be str.\nIf path is None, uses the path='.'.\nOn some platforms, path may also be specified as an open file descriptor;\\\n the file descriptor must refer to a directory.\n If this functionality is unavailable, using it raises NotImplementedError.\n\nThe list is in arbitrary order. It does not include the special\nentries '.' and '..' even if they are present in the directory.")),
+ ("posix.listxattr", Some("Return a list of extended attributes on path.\n\npath may be either None, a string, a path-like object, or an open file descriptor.\nif path is None, listxattr will examine the current directory.\nIf follow_symlinks is False, and the last element of the path is a symbolic\n link, listxattr will examine the symbolic link itself instead of the file\n the link points to.")),
("posix.lockf", Some("Apply, test or remove a POSIX lock on an open file descriptor.\n\n fd\n An open file descriptor.\n command\n One of F_LOCK, F_TLOCK, F_ULOCK or F_TEST.\n length\n The number of bytes to lock, starting at the current position.")),
("posix.lseek", Some("Set the position of a file descriptor. Return the new position.\n\nReturn the new cursor position in number of bytes\nrelative to the beginning of the file.")),
("posix.lstat", Some("Perform a stat system call on the given path, without following symbolic links.\n\nLike stat(), but do not follow symbolic links.\nEquivalent to stat(path, follow_symlinks=False).")),
("posix.major", Some("Extracts a device major number from a raw device number.")),
("posix.makedev", Some("Composes a raw device number from the major and minor device numbers.")),
+ ("posix.memfd_create", None),
("posix.minor", Some("Extracts a device minor number from a raw device number.")),
- ("posix.mkdir", Some("Create a directory.\n\nIf dir_fd is not None, it should be a file descriptor open to a directory,\n and path should be relative; path will then be relative to that directory.\ndir_fd may not be implemented on your platform.\n If it is unavailable, using it will raise a NotImplementedError.\n\nThe mode argument is ignored on Windows.")),
+ ("posix.mkdir", Some("Create a directory.\n\nIf dir_fd is not None, it should be a file descriptor open to a directory,\n and path should be relative; path will then be relative to that directory.\ndir_fd may not be implemented on your platform.\n If it is unavailable, using it will raise a NotImplementedError.\n\nThe mode argument is ignored on Windows. Where it is used, the current umask\nvalue is first masked out.")),
("posix.mkfifo", Some("Create a \"fifo\" (a POSIX named pipe).\n\nIf dir_fd is not None, it should be a file descriptor open to a directory,\n and path should be relative; path will then be relative to that directory.\ndir_fd may not be implemented on your platform.\n If it is unavailable, using it will raise a NotImplementedError.")),
("posix.mknod", Some("Create a node in the file system.\n\nCreate a node in the file system (file, device special file or named pipe)\nat path. mode specifies both the permissions to use and the\ntype of node to be created, being combined (bitwise OR) with one of\nS_IFREG, S_IFCHR, S_IFBLK, and S_IFIFO. If S_IFCHR or S_IFBLK is set on mode,\ndevice defines the newly created device special file (probably using\nos.makedev()). Otherwise device is ignored.\n\nIf dir_fd is not None, it should be a file descriptor open to a directory,\n and path should be relative; path will then be relative to that directory.\ndir_fd may not be implemented on your platform.\n If it is unavailable, using it will raise a NotImplementedError.")),
("posix.nice", Some("Add increment to the priority of process and return the new priority.")),
("posix.open", Some("Open a file for low level IO. Returns a file descriptor (integer).\n\nIf dir_fd is not None, it should be a file descriptor open to a directory,\n and path should be relative; path will then be relative to that directory.\ndir_fd may not be implemented on your platform.\n If it is unavailable, using it will raise a NotImplementedError.")),
("posix.openpty", Some("Open a pseudo-terminal.\n\nReturn a tuple of (master_fd, slave_fd) containing open file descriptors\nfor both the master and slave ends.")),
("posix.pathconf", Some("Return the configuration limit name for the file or directory path.\n\nIf there is no limit, return -1.\nOn some platforms, path may also be specified as an open file descriptor.\n If this functionality is unavailable, using it raises an exception.")),
+ ("posix.pidfd_open", Some("Return a file descriptor referring to the process *pid*.\n\nThe descriptor can be used to perform process management without races and\nsignals.")),
("posix.pipe", Some("Create a pipe.\n\nReturns a tuple of two file descriptors:\n (read_fd, write_fd)")),
+ ("posix.pipe2", Some("Create a pipe with flags set atomically.\n\nReturns a tuple of two file descriptors:\n (read_fd, write_fd)\n\nflags can be constructed by ORing together one or more of these values:\nO_NONBLOCK, O_CLOEXEC.")),
+ ("posix.posix_fadvise", Some("Announce an intention to access data in a specific pattern.\n\nAnnounce an intention to access data in a specific pattern, thus allowing\nthe kernel to make optimizations.\nThe advice applies to the region of the file specified by fd starting at\noffset and continuing for length bytes.\nadvice is one of POSIX_FADV_NORMAL, POSIX_FADV_SEQUENTIAL,\nPOSIX_FADV_RANDOM, POSIX_FADV_NOREUSE, POSIX_FADV_WILLNEED, or\nPOSIX_FADV_DONTNEED.")),
+ ("posix.posix_fallocate", Some("Ensure a file has allocated at least a particular number of bytes on disk.\n\nEnsure that the file specified by fd encompasses a range of bytes\nstarting at offset bytes from the beginning and continuing for length bytes.")),
("posix.posix_spawn", Some("Execute the program specified by path in a new process.\n\n path\n Path of executable file.\n argv\n Tuple or list of strings.\n env\n Dictionary of strings mapping to strings.\n file_actions\n A sequence of file action tuples.\n setpgroup\n The pgroup to use with the POSIX_SPAWN_SETPGROUP flag.\n resetids\n If the value is `true` the POSIX_SPAWN_RESETIDS will be activated.\n setsid\n If the value is `true` the POSIX_SPAWN_SETSID or POSIX_SPAWN_SETSID_NP will be activated.\n setsigmask\n The sigmask to use with the POSIX_SPAWN_SETSIGMASK flag.\n setsigdef\n The sigmask to use with the POSIX_SPAWN_SETSIGDEF flag.\n scheduler\n A tuple with the scheduler policy (optional) and parameters.")),
("posix.posix_spawnp", Some("Execute the program specified by path in a new process.\n\n path\n Path of executable file.\n argv\n Tuple or list of strings.\n env\n Dictionary of strings mapping to strings.\n file_actions\n A sequence of file action tuples.\n setpgroup\n The pgroup to use with the POSIX_SPAWN_SETPGROUP flag.\n resetids\n If the value is `True` the POSIX_SPAWN_RESETIDS will be activated.\n setsid\n If the value is `True` the POSIX_SPAWN_SETSID or POSIX_SPAWN_SETSID_NP will be activated.\n setsigmask\n The sigmask to use with the POSIX_SPAWN_SETSIGMASK flag.\n setsigdef\n The sigmask to use with the POSIX_SPAWN_SETSIGDEF flag.\n scheduler\n A tuple with the scheduler policy (optional) and parameters.")),
("posix.pread", Some("Read a number of bytes from a file descriptor starting at a particular offset.\n\nRead length bytes from file descriptor fd, starting at offset bytes from\nthe beginning of the file. The file offset remains unchanged.")),
+ ("posix.preadv", Some("Reads from a file descriptor into a number of mutable bytes-like objects.\n\nCombines the functionality of readv() and pread(). As readv(), it will\ntransfer data into each buffer until it is full and then move on to the next\nbuffer in the sequence to hold the rest of the data. Its fourth argument,\nspecifies the file offset at which the input operation is to be performed. It\nwill return the total number of bytes read (which can be less than the total\ncapacity of all the objects).\n\nThe flags argument contains a bitwise OR of zero or more of the following flags:\n\n- RWF_HIPRI\n- RWF_NOWAIT\n\nUsing non-zero flags requires Linux 4.6 or newer.")),
("posix.putenv", Some("Change or add an environment variable.")),
("posix.pwrite", Some("Write bytes to a file descriptor starting at a particular offset.\n\nWrite buffer to fd, starting at offset bytes from the beginning of\nthe file. Returns the number of bytes writte. Does not change the\ncurrent file offset.")),
+ ("posix.pwritev", Some("Writes the contents of bytes-like objects to a file descriptor at a given offset.\n\nCombines the functionality of writev() and pwrite(). All buffers must be a sequence\nof bytes-like objects. Buffers are processed in array order. Entire contents of first\nbuffer is written before proceeding to second, and so on. The operating system may\nset a limit (sysconf() value SC_IOV_MAX) on the number of buffers that can be used.\nThis function writes the contents of each object to the file descriptor and returns\nthe total number of bytes written.\n\nThe flags argument contains a bitwise OR of zero or more of the following flags:\n\n- RWF_DSYNC\n- RWF_SYNC\n- RWF_APPEND\n\nUsing non-zero flags requires Linux 4.7 or newer.")),
("posix.read", Some("Read from a file descriptor. Returns a bytes object.")),
("posix.readlink", Some("Return a string representing the path to which the symbolic link points.\n\nIf dir_fd is not None, it should be a file descriptor open to a directory,\nand path should be relative; path will then be relative to that directory.\n\ndir_fd may not be implemented on your platform. If it is unavailable,\nusing it will raise a NotImplementedError.")),
("posix.readv", Some("Read from a file descriptor fd into an iterable of buffers.\n\nThe buffers should be mutable buffers accepting bytes.\nreadv will transfer data into each buffer until it is full\nand then move on to the next buffer in the sequence to hold\nthe rest of the data.\n\nreadv returns the total number of bytes read,\nwhich may be less than the total capacity of all the buffers.")),
("posix.register_at_fork", Some("Register callables to be called when forking a new process.\n\n before\n A callable to be called in the parent before the fork() syscall.\n after_in_child\n A callable to be called in the child after fork().\n after_in_parent\n A callable to be called in the parent after fork().\n\n'before' callbacks are called in reverse order.\n'after_in_child' and 'after_in_parent' callbacks are called in order.")),
("posix.remove", Some("Remove a file (same as unlink()).\n\nIf dir_fd is not None, it should be a file descriptor open to a directory,\n and path should be relative; path will then be relative to that directory.\ndir_fd may not be implemented on your platform.\n If it is unavailable, using it will raise a NotImplementedError.")),
+ ("posix.removexattr", Some("Remove extended attribute attribute on path.\n\npath may be either a string, a path-like object, or an open file descriptor.\nIf follow_symlinks is False, and the last element of the path is a symbolic\n link, removexattr will modify the symbolic link itself instead of the file\n the link points to.")),
("posix.rename", Some("Rename a file or directory.\n\nIf either src_dir_fd or dst_dir_fd is not None, it should be a file\n descriptor open to a directory, and the respective path string (src or dst)\n should be relative; the path will then be relative to that directory.\nsrc_dir_fd and dst_dir_fd, may not be implemented on your platform.\n If they are unavailable, using them will raise a NotImplementedError.")),
("posix.replace", Some("Rename a file or directory, overwriting the destination.\n\nIf either src_dir_fd or dst_dir_fd is not None, it should be a file\n descriptor open to a directory, and the respective path string (src or dst)\n should be relative; the path will then be relative to that directory.\nsrc_dir_fd and dst_dir_fd, may not be implemented on your platform.\n If they are unavailable, using them will raise a NotImplementedError.")),
("posix.rmdir", Some("Remove a directory.\n\nIf dir_fd is not None, it should be a file descriptor open to a directory,\n and path should be relative; path will then be relative to that directory.\ndir_fd may not be implemented on your platform.\n If it is unavailable, using it will raise a NotImplementedError.")),
("posix.scandir", Some("Return an iterator of DirEntry objects for given path.\n\npath can be specified as either str, bytes, or a path-like object. If path\nis bytes, the names of yielded DirEntry objects will also be bytes; in\nall other circumstances they will be str.\n\nIf path is None, uses the path='.'.")),
("posix.sched_get_priority_max", Some("Get the maximum scheduling priority for policy.")),
("posix.sched_get_priority_min", Some("Get the minimum scheduling priority for policy.")),
+ ("posix.sched_getaffinity", Some("Return the affinity of the process identified by pid (or the current process if zero).\n\nThe affinity is returned as a set of CPU identifiers.")),
+ ("posix.sched_getparam", Some("Returns scheduling parameters for the process identified by pid.\n\nIf pid is 0, returns parameters for the calling process.\nReturn value is an instance of sched_param.")),
+ ("posix.sched_getscheduler", Some("Get the scheduling policy for the process identified by pid.\n\nPassing 0 for pid returns the scheduling policy for the calling process.")),
+ ("posix.sched_param", Some("Currently has only one field: sched_priority\n\n sched_priority\n A scheduling parameter.")),
+ ("posix.sched_param.__class_getitem__", Some("See PEP 585")),
+ ("posix.sched_param.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
+ ("posix.sched_param.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
+ ("posix.sched_param.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
+ ("posix.sched_rr_get_interval", Some("Return the round-robin quantum for the process identified by pid, in seconds.\n\nValue returned is a float.")),
+ ("posix.sched_setaffinity", Some("Set the CPU affinity of the process identified by pid to mask.\n\nmask should be an iterable of integers identifying CPUs.")),
+ ("posix.sched_setparam", Some("Set scheduling parameters for the process identified by pid.\n\nIf pid is 0, sets parameters for the calling process.\nparam should be an instance of sched_param.")),
+ ("posix.sched_setscheduler", Some("Set the scheduling policy for the process identified by pid.\n\nIf pid is 0, the calling process is changed.\nparam is an instance of sched_param.")),
("posix.sched_yield", Some("Voluntarily relinquish the CPU.")),
("posix.sendfile", Some("Copy count bytes from file descriptor in_fd to file descriptor out_fd.")),
("posix.set_blocking", Some("Set the blocking mode of the specified file descriptor.\n\nSet the O_NONBLOCK flag if blocking is False,\nclear the O_NONBLOCK flag otherwise.")),
@@ -957,9 +990,13 @@
("posix.setpgrp", Some("Make the current process the leader of its process group.")),
("posix.setpriority", Some("Set program scheduling priority.")),
("posix.setregid", Some("Set the current process's real and effective group ids.")),
+ ("posix.setresgid", Some("Set the current process's real, effective, and saved group ids.")),
+ ("posix.setresuid", Some("Set the current process's real, effective, and saved user ids.")),
("posix.setreuid", Some("Set the current process's real and effective user ids.")),
("posix.setsid", Some("Call the system call setsid().")),
("posix.setuid", Some("Set the current process's user id.")),
+ ("posix.setxattr", Some("Set extended attribute attribute on path to value.\n\npath may be either a string, a path-like object, or an open file descriptor.\nIf follow_symlinks is False, and the last element of the path is a symbolic\n link, setxattr will modify the symbolic link itself instead of the file\n the link points to.")),
+ ("posix.splice", Some("Transfer count bytes from one pipe to a descriptor or vice versa.\n\n src\n Source file descriptor.\n dst\n Destination file descriptor.\n count\n Number of bytes to copy.\n offset_src\n Starting offset in src.\n offset_dst\n Starting offset in dst.\n flags\n Flags to modify the semantics of the call.\n\nIf offset_src is None, then src is read from the current position;\nrespectively for offset_dst. The offset associated to the file\ndescriptor that refers to a pipe must be None.")),
("posix.stat", Some("Perform a stat system call on the given path.\n\n path\n Path to be examined; can be string, bytes, a path-like object or\n open-file-descriptor int.\n dir_fd\n If not None, it should be a file descriptor open to a directory,\n and path should be a relative string; path will then be relative to\n that directory.\n follow_symlinks\n If False, and the last element of the path is a symbolic link,\n stat will examine the symbolic link itself instead of the file\n the link points to.\n\ndir_fd and follow_symlinks may not be implemented\n on your platform. If they are unavailable, using them will raise a\n NotImplementedError.\n\nIt's an error to use dir_fd or follow_symlinks when specifying path as\n an open file descriptor.")),
("posix.statvfs", Some("Perform a statvfs system call on the given path.\n\npath may always be specified as a string.\nOn some platforms, path may also be specified as an open file descriptor.\n If this functionality is unavailable, using it raises an exception.")),
("posix.strerror", Some("Translate an error code to a message string.")),
@@ -991,6 +1028,12 @@
("posix.wait", Some("Wait for completion of a child process.\n\nReturns a tuple of information about the child process:\n (pid, status)")),
("posix.wait3", Some("Wait for completion of a child process.\n\nReturns a tuple of information about the child process:\n (pid, status, rusage)")),
("posix.wait4", Some("Wait for completion of a specific child process.\n\nReturns a tuple of information about the child process:\n (pid, status, rusage)")),
+ ("posix.waitid", Some("Returns the result of waiting for a process or processes.\n\n idtype\n Must be one of be P_PID, P_PGID or P_ALL.\n id\n The id to wait on.\n options\n Constructed from the ORing of one or more of WEXITED, WSTOPPED\n or WCONTINUED and additionally may be ORed with WNOHANG or WNOWAIT.\n\nReturns either waitid_result or None if WNOHANG is specified and there are\nno children in a waitable state.")),
+ ("posix.waitid_result", Some("waitid_result: Result from waitid.\n\nThis object may be accessed either as a tuple of\n (si_pid, si_uid, si_signo, si_status, si_code),\nor via the attributes si_pid, si_uid, and so on.\n\nSee os.waitid for more information.")),
+ ("posix.waitid_result.__class_getitem__", Some("See PEP 585")),
+ ("posix.waitid_result.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
+ ("posix.waitid_result.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
+ ("posix.waitid_result.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
("posix.waitpid", Some("Wait for completion of a given child process.\n\nReturns a tuple of information regarding the child process:\n (pid, status)\n\nThe options argument is ignored on Windows.")),
("posix.waitstatus_to_exitcode", Some("Convert a wait status to an exit code.\n\nOn Unix:\n\n* If WIFEXITED(status) is true, return WEXITSTATUS(status).\n* If WIFSIGNALED(status) is true, return -WTERMSIG(status).\n* Otherwise, raise a ValueError.\n\nOn Windows, return status shifted right by 8 bits.\n\nOn Unix, if the process is being traced or if waitpid() was called with\nWUNTRACED option, the caller must first check if WIFSTOPPED(status) is true.\nThis function must not be called if WIFSTOPPED(status) is true.")),
("posix.write", Some("Write a bytes object to a file descriptor.")),
@@ -1010,16 +1053,22 @@
("sys.__excepthook__", Some("Handle an exception by displaying it with a traceback on sys.stderr.")),
("sys.__unraisablehook__", Some("Handle an unraisable exception.\n\nThe unraisable argument has the following attributes:\n\n* exc_type: Exception type.\n* exc_value: Exception value, can be None.\n* exc_traceback: Exception traceback, can be None.\n* err_msg: Error message, can be None.\n* object: Object causing the exception, can be None.")),
("sys._clear_type_cache", Some("Clear the internal type lookup cache.")),
+ ("sys._current_exceptions", Some("Return a dict mapping each thread's identifier to its current raised exception.\n\nThis function should be used for specialized purposes only.")),
("sys._current_frames", Some("Return a dict mapping each thread's thread id to its current stack frame.\n\nThis function should be used for specialized purposes only.")),
+ ("sys._deactivate_opcache", Some("Deactivate the opcode cache permanently")),
("sys._debugmallocstats", Some("Print summary info to stderr about the state of pymalloc's structures.\n\nIn Py_DEBUG mode, also perform some expensive internal consistency\nchecks.")),
("sys._getframe", Some("Return a frame object from the call stack.\n\nIf optional integer depth is given, return the frame object that many\ncalls below the top of the stack. If that is deeper than the call\nstack, ValueError is raised. The default for depth is zero, returning\nthe frame at the top of the call stack.\n\nThis function should be used for internal and specialized purposes\nonly.")),
("sys.addaudithook", Some("Adds a new audit hook callback.")),
("sys.audit", Some("audit(event, *args)\n\nPasses the event to any audit hooks that are attached.")),
+ ("sys.breakpointhook", Some("breakpointhook(*args, **kws)\n\nThis hook function is called by built-in breakpoint().\n")),
("sys.call_tracing", Some("Call func(*args), while tracing is enabled.\n\nThe tracing state is saved, and restored afterwards. This is intended\nto be called from a debugger from a checkpoint, to recursively debug\nsome other code.")),
+ ("sys.displayhook", Some("Print an object to sys.stdout and also save it in builtins._")),
("sys.exc_info", Some("Return current exception information: (type, value, traceback).\n\nReturn information about the most recent exception caught by an except\nclause in the current stack frame or in an older stack frame.")),
+ ("sys.excepthook", Some("Handle an exception by displaying it with a traceback on sys.stderr.")),
("sys.exit", Some("Exit the interpreter by raising SystemExit(status).\n\nIf the status is omitted or None, it defaults to zero (i.e., success).\nIf the status is an integer, it will be used as the system exit status.\nIf it is another kind of object, it will be printed and the system\nexit status will be one (i.e., failure).")),
("sys.get_asyncgen_hooks", Some("Return the installed asynchronous generators hooks.\n\nThis returns a namedtuple of the form (firstiter, finalizer).")),
("sys.get_coroutine_origin_tracking_depth", Some("Check status of origin tracking for coroutine objects in this thread.")),
+ ("sys.get_int_max_str_digits", Some("Set the maximum string digits limit for non-binary int<->str conversions.")),
("sys.getallocatedblocks", Some("Return the number of memory blocks currently allocated.")),
("sys.getdefaultencoding", Some("Return the current default encoding used by the Unicode implementation.")),
("sys.getdlopenflags", Some("Return the current value of the flags that are used for dlopen calls.\n\nThe flag constants are defined in the os module.")),
@@ -1035,6 +1084,7 @@
("sys.is_finalizing", Some("Return True if Python is exiting.")),
("sys.set_asyncgen_hooks", Some("set_asyncgen_hooks(* [, firstiter] [, finalizer])\n\nSet a finalizer for async generators objects.")),
("sys.set_coroutine_origin_tracking_depth", Some("Enable or disable origin tracking for coroutine objects in this thread.\n\nCoroutine objects will track 'depth' frames of traceback information\nabout where they came from, available in their cr_origin attribute.\n\nSet a depth of 0 to disable.")),
+ ("sys.set_int_max_str_digits", Some("Set the maximum string digits limit for non-binary int<->str conversions.")),
("sys.setdlopenflags", Some("Set the flags used by the interpreter for dlopen calls.\n\nThis is used, for example, when the interpreter loads extension\nmodules. Among other things, this will enable a lazy resolving of\nsymbols when importing a module, if called as sys.setdlopenflags(0).\nTo share symbols across extension modules, call as\nsys.setdlopenflags(os.RTLD_GLOBAL). Symbolic names for the flag\nmodules can be found in the os module (RTLD_xxx constants, e.g.\nos.RTLD_LAZY).")),
("sys.setprofile", Some("setprofile(function)\n\nSet the profiling function. It will be called on each function call\nand return. See the profiler chapter in the library manual.")),
("sys.setrecursionlimit", Some("Set the maximum depth of the Python interpreter stack to n.\n\nThis limit prevents infinite recursion from causing an overflow of the C\nstack and crashing Python. The highest possible limit is platform-\ndependent.")),
@@ -1043,6 +1093,11 @@
("sys.unraisablehook", Some("Handle an unraisable exception.\n\nThe unraisable argument has the following attributes:\n\n* exc_type: Exception type.\n* exc_value: Exception value, can be None.\n* exc_traceback: Exception traceback, can be None.\n* err_msg: Error message, can be None.\n* object: Object causing the exception, can be None.")),
("time", Some("This module provides various functions to manipulate time values.\n\nThere are two standard representations of time. One is the number\nof seconds since the Epoch, in UTC (a.k.a. GMT). It may be an integer\nor a floating point number (to represent fractions of seconds).\nThe Epoch is system-defined; on Unix, it is generally January 1st, 1970.\nThe actual value can be retrieved by calling gmtime(0).\n\nThe other representation is a tuple of 9 integers giving local time.\nThe tuple items are:\n year (including century, e.g. 1998)\n month (1-12)\n day (1-31)\n hours (0-23)\n minutes (0-59)\n seconds (0-59)\n weekday (0-6, Monday is 0)\n Julian day (day in the year, 1-366)\n DST (Daylight Savings Time) flag (-1, 0 or 1)\nIf the DST flag is 0, the time is given in the regular time zone;\nif it is 1, the time is given in the DST time zone;\nif it is -1, mktime() should guess based on the date and time.\n")),
("time.asctime", Some("asctime([tuple]) -> string\n\nConvert a time tuple to a string, e.g. 'Sat Jun 06 16:26:11 1998'.\nWhen the time tuple is not present, current time as returned by localtime()\nis used.")),
+ ("time.clock_getres", Some("clock_getres(clk_id) -> floating point number\n\nReturn the resolution (precision) of the specified clock clk_id.")),
+ ("time.clock_gettime", Some("clock_gettime(clk_id) -> float\n\nReturn the time of the specified clock clk_id.")),
+ ("time.clock_gettime_ns", Some("clock_gettime_ns(clk_id) -> int\n\nReturn the time of the specified clock clk_id as nanoseconds.")),
+ ("time.clock_settime", Some("clock_settime(clk_id, time)\n\nSet the time of the specified clock clk_id.")),
+ ("time.clock_settime_ns", Some("clock_settime_ns(clk_id, time)\n\nSet the time of the specified clock clk_id with nanoseconds.")),
("time.ctime", Some("ctime(seconds) -> string\n\nConvert a time in seconds since the Epoch to a string in local time.\nThis is equivalent to asctime(localtime(seconds)). When the time tuple is\nnot present, current time as returned by localtime() is used.")),
("time.get_clock_info", Some("get_clock_info(name: str) -> dict\n\nGet information of the specified clock.")),
("time.gmtime", Some("gmtime([seconds]) -> (tm_year, tm_mon, tm_mday, tm_hour, tm_min,\n tm_sec, tm_wday, tm_yday, tm_isdst)\n\nConvert seconds since the Epoch to a time tuple expressing UTC (a.k.a.\nGMT). When 'seconds' is not passed in, convert the current time instead.\n\nIf the platform supports the tm_gmtoff and tm_zone, they are available as\nattributes only.")),
@@ -1054,6 +1109,7 @@
("time.perf_counter_ns", Some("perf_counter_ns() -> int\n\nPerformance counter for benchmarking as nanoseconds.")),
("time.process_time", Some("process_time() -> float\n\nProcess time for profiling: sum of the kernel and user-space CPU time.")),
("time.process_time_ns", Some("process_time() -> int\n\nProcess time for profiling as nanoseconds:\nsum of the kernel and user-space CPU time.")),
+ ("time.pthread_getcpuclockid", Some("pthread_getcpuclockid(thread_id) -> int\n\nReturn the clk_id of a thread's CPU time clock.")),
("time.sleep", Some("sleep(seconds)\n\nDelay execution for a given number of seconds. The argument may be\na floating point number for subsecond precision.")),
("time.strftime", Some("strftime(format[, tuple]) -> string\n\nConvert a time tuple to a string according to a format specification.\nSee the library reference manual for formatting codes. When the time tuple\nis not present, current time as returned by localtime() is used.\n\nCommonly used format codes:\n\n%Y Year with century as a decimal number.\n%m Month as a decimal number [01,12].\n%d Day of the month as a decimal number [01,31].\n%H Hour (24-hour clock) as a decimal number [00,23].\n%M Minute as a decimal number [00,59].\n%S Second as a decimal number [00,61].\n%z Time zone offset from UTC.\n%a Locale's abbreviated weekday name.\n%A Locale's full weekday name.\n%b Locale's abbreviated month name.\n%B Locale's full month name.\n%c Locale's appropriate date and time representation.\n%I Hour (12-hour clock) as a decimal number [01,12].\n%p Locale's equivalent of either AM or PM.\n\nOther codes may be available on your platform. See documentation for\nthe C library strftime function.\n")),
("time.strptime", Some("strptime(string, format) -> struct_time\n\nParse a string to a time tuple according to a format specification.\nSee the library reference manual for formatting codes (same as\nstrftime()).\n\nCommonly used format codes:\n\n%Y Year with century as a decimal number.\n%m Month as a decimal number [01,12].\n%d Day of the month as a decimal number [01,31].\n%H Hour (24-hour clock) as a decimal number [00,23].\n%M Minute as a decimal number [00,59].\n%S Second as a decimal number [00,61].\n%z Time zone offset from UTC.\n%a Locale's abbreviated weekday name.\n%A Locale's full weekday name.\n%b Locale's abbreviated month name.\n%B Locale's full month name.\n%c Locale's appropriate date and time representation.\n%I Hour (12-hour clock) as a decimal number [01,12].\n%p Locale's equivalent of either AM or PM.\n\nOther codes may be available on your platform. See documentation for\nthe C library strftime function.\n")),
@@ -1062,30 +1118,15 @@
("time.struct_time.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
("time.struct_time.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
("time.struct_time.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
+ ("time.thread_time", Some("thread_time() -> float\n\nThread time for profiling: sum of the kernel and user-space CPU time.")),
+ ("time.thread_time_ns", Some("thread_time() -> int\n\nThread time for profiling as nanoseconds:\nsum of the kernel and user-space CPU time.")),
("time.time", Some("time() -> floating point number\n\nReturn the current time in seconds since the Epoch.\nFractions of a second may be present if the system clock provides them.")),
("time.time_ns", Some("time_ns() -> int\n\nReturn the current time in nanoseconds since the Epoch.")),
("time.tzset", Some("tzset()\n\nInitialize, or reinitialize, the local timezone to the value stored in\nos.environ['TZ']. The TZ environment variable should be specified in\nstandard Unix timezone format as documented in the tzset man page\n(eg. 'US/Eastern', 'Europe/Amsterdam'). Unknown timezones will silently\nfall back to UTC. If the TZ environment variable is not set, the local\ntimezone is set to the systems best guess of wallclock time.\nChanging the TZ environment variable without calling tzset *may* change\nthe local timezone used by methods such as localtime, but this behaviour\nshould not be relied on.")),
- ("xxsubtype", Some("xxsubtype is an example module showing how to subtype builtin types from C.\ntest_descr.py in the standard test suite requires it in order to complete.\nIf you don't care about the examples, and don't intend to run the Python\ntest suite, you can recompile Python without Modules/xxsubtype.c.")),
- ("xxsubtype.bench", None),
- ("xxsubtype.spamdict.__class_getitem__", Some("See PEP 585")),
- ("xxsubtype.spamdict.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("xxsubtype.spamdict.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("xxsubtype.spamdict.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("xxsubtype.spamdict.fromkeys", Some("Create a new dictionary with keys from iterable and values set to value.")),
- ("xxsubtype.spamlist.__class_getitem__", Some("See PEP 585")),
- ("xxsubtype.spamlist.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("xxsubtype.spamlist.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("xxsubtype.spamlist.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("xxsubtype.spamlist.classmeth", Some("classmeth(*args, **kw)")),
- ("xxsubtype.spamlist.staticmeth", Some("staticmeth(*args, **kw)")),
("zipimport", Some("zipimport provides support for importing Python modules from Zip archives.\n\nThis module exports three objects:\n- zipimporter: a class; its constructor takes a path to a Zip archive.\n- ZipImportError: exception raised by zipimporter objects. It's a\n subclass of ImportError, so it can be caught as ImportError, too.\n- _zip_directory_cache: a dict, mapping archive paths to zip directory\n info dicts, as used in zipimporter._files.\n\nIt is usually not needed to use the zipimport module explicitly; it is\nused by the builtin import mechanism for sys.path items that are paths\nto Zip archives.\n")),
("zipimport.ZipImportError.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
("zipimport.ZipImportError.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
("zipimport.ZipImportError.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("zipimport._ZipImportResourceReader", Some("Private class used to support ZipImport.get_resource_reader().\n\n This class is allowed to reference all the innards and private parts of\n the zipimporter.\n ")),
- ("zipimport._ZipImportResourceReader.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("zipimport._ZipImportResourceReader.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("zipimport._ZipImportResourceReader.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
("zipimport.zipimporter", Some("zipimporter(archivepath) -> zipimporter object\n\n Create a new zipimporter instance. 'archivepath' must be a path to\n a zipfile, or to a specific path inside a zipfile. For example, it can be\n '/tmp/myimport.zip', or '/tmp/myimport.zip/mydirectory', if mydirectory is a\n valid directory inside the archive.\n\n 'ZipImportError is raised if 'archivepath' doesn't point to a valid Zip\n archive.\n\n The 'archive' attribute of zipimporter objects contains the name of the\n zipfile targeted.\n ")),
("zipimport.zipimporter.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
("zipimport.zipimporter.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
@@ -1102,6 +1143,7 @@
("_asyncio.Task.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
("_asyncio.Task.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
("_asyncio._enter_task", Some("Enter into task execution or resume suspended task.\n\nTask belongs to loop.\n\nReturns None.")),
+ ("_asyncio._get_event_loop", None),
("_asyncio._get_running_loop", Some("Return the running event loop or None.\n\nThis is a low-level function intended to be used by event loops.\nThis function is thread-specific.")),
("_asyncio._leave_task", Some("Leave task execution or suspend a task.\n\nTask belongs to loop.\n\nReturns None.")),
("_asyncio._register_task", Some("Register a new task in asyncio as executed by loop.\n\nReturns None.")),
@@ -1110,19 +1152,10 @@
("_asyncio.get_event_loop", Some("Return an asyncio event loop.\n\nWhen called from a coroutine or a callback (e.g. scheduled with\ncall_soon or similar API), this function will always return the\nrunning event loop.\n\nIf there is no running event loop set, the function will return\nthe result of `get_event_loop_policy().get_event_loop()` call.")),
("_asyncio.get_running_loop", Some("Return the running event loop. Raise a RuntimeError if there is none.\n\nThis function is thread-specific.")),
("_bisect", Some("Bisection algorithms.\n\nThis module provides support for maintaining a list in sorted order without\nhaving to sort the list after each insertion. For long lists of items with\nexpensive comparison operations, this can be an improvement over the more\ncommon approach.\n")),
- ("_bisect.bisect_left", Some("Return the index where to insert item x in list a, assuming a is sorted.\n\nThe return value i is such that all e in a[:i] have e < x, and all e in\na[i:] have e >= x. So if x already appears in the list, i points just\nbefore the leftmost x already there.\n\nOptional args lo (default 0) and hi (default len(a)) bound the\nslice of a to be searched.")),
- ("_bisect.bisect_right", Some("Return the index where to insert item x in list a, assuming a is sorted.\n\nThe return value i is such that all e in a[:i] have e <= x, and all e in\na[i:] have e > x. So if x already appears in the list, i points just\nbeyond the rightmost x already there\n\nOptional args lo (default 0) and hi (default len(a)) bound the\nslice of a to be searched.")),
+ ("_bisect.bisect_left", Some("Return the index where to insert item x in list a, assuming a is sorted.\n\nThe return value i is such that all e in a[:i] have e < x, and all e in\na[i:] have e >= x. So if x already appears in the list, a.insert(i, x) will\ninsert just before the leftmost x already there.\n\nOptional args lo (default 0) and hi (default len(a)) bound the\nslice of a to be searched.")),
+ ("_bisect.bisect_right", Some("Return the index where to insert item x in list a, assuming a is sorted.\n\nThe return value i is such that all e in a[:i] have e <= x, and all e in\na[i:] have e > x. So if x already appears in the list, a.insert(i, x) will\ninsert just after the rightmost x already there.\n\nOptional args lo (default 0) and hi (default len(a)) bound the\nslice of a to be searched.")),
("_bisect.insort_left", Some("Insert item x in list a, and keep it sorted assuming a is sorted.\n\nIf x is already in a, insert it to the left of the leftmost x.\n\nOptional args lo (default 0) and hi (default len(a)) bound the\nslice of a to be searched.")),
("_bisect.insort_right", Some("Insert item x in list a, and keep it sorted assuming a is sorted.\n\nIf x is already in a, insert it to the right of the rightmost x.\n\nOptional args lo (default 0) and hi (default len(a)) bound the\nslice of a to be searched.")),
- ("_blake2", Some("_blake2b provides BLAKE2b for hashlib\n")),
- ("_blake2.blake2b", Some("Return a new BLAKE2b hash object.")),
- ("_blake2.blake2b.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_blake2.blake2b.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_blake2.blake2b.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_blake2.blake2s", Some("Return a new BLAKE2s hash object.")),
- ("_blake2.blake2s.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_blake2.blake2s.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_blake2.blake2s.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
("_bz2.BZ2Compressor", Some("Create a compressor object for compressing data incrementally.\n\n compresslevel\n Compression level, as a number between 1 and 9.\n\nFor one-shot compression, use the compress() function instead.")),
("_bz2.BZ2Compressor.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
("_bz2.BZ2Compressor.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
@@ -1131,16 +1164,20 @@
("_bz2.BZ2Decompressor.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
("_bz2.BZ2Decompressor.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
("_bz2.BZ2Decompressor.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_codecs_cn.getcodec", None),
- ("_codecs_hk.getcodec", None),
- ("_codecs_iso2022.getcodec", None),
- ("_codecs_jp.getcodec", None),
- ("_codecs_kr.getcodec", None),
- ("_codecs_tw.getcodec", None),
("_contextvars", Some("Context Variables")),
+ ("_contextvars.Context.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
+ ("_contextvars.Context.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
+ ("_contextvars.Context.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
+ ("_contextvars.ContextVar.__class_getitem__", Some("See PEP 585")),
+ ("_contextvars.ContextVar.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
+ ("_contextvars.ContextVar.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
+ ("_contextvars.ContextVar.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
+ ("_contextvars.Token.__class_getitem__", Some("See PEP 585")),
+ ("_contextvars.Token.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
+ ("_contextvars.Token.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
+ ("_contextvars.Token.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
("_contextvars.copy_context", None),
- ("_crypt.crypt", Some("Hash a *word* with the given *salt* and return the hashed password.\n\n*word* will usually be a user's password. *salt* (either a random 2 or 16\ncharacter string, possibly prefixed with $digit$ to indicate the method)\nwill be used to perturb the encryption algorithm and produce distinct\nresults for a given *word*.")),
- ("_csv", Some("CSV parsing and writing.\n\nThis module provides classes that assist in the reading and writing\nof Comma Separated Value (CSV) files, and implements the interface\ndescribed by PEP 305. Although many CSV files are simple to parse,\nthe format is not formally defined by a stable specification and\nis subtle enough that parsing lines of a CSV file with something\nlike line.split(\",\") is bound to fail. The module supports three\nbasic APIs: reading, writing, and registration of dialects.\n\n\nDIALECT REGISTRATION:\n\nReaders and writers support a dialect argument, which is a convenient\nhandle on a group of settings. When the dialect argument is a string,\nit identifies one of the dialects previously registered with the module.\nIf it is a class or instance, the attributes of the argument are used as\nthe settings for the reader or writer:\n\n class excel:\n delimiter = ','\n quotechar = '\"'\n escapechar = None\n doublequote = True\n skipinitialspace = False\n lineterminator = '\\r\\n'\n quoting = QUOTE_MINIMAL\n\nSETTINGS:\n\n * quotechar - specifies a one-character string to use as the\n quoting character. It defaults to '\"'.\n * delimiter - specifies a one-character string to use as the\n field separator. It defaults to ','.\n * skipinitialspace - specifies how to interpret whitespace which\n immediately follows a delimiter. It defaults to False, which\n means that whitespace immediately following a delimiter is part\n of the following field.\n * lineterminator - specifies the character sequence which should\n terminate rows.\n * quoting - controls when quotes should be generated by the writer.\n It can take on any of the following module constants:\n\n csv.QUOTE_MINIMAL means only when required, for example, when a\n field contains either the quotechar or the delimiter\n csv.QUOTE_ALL means that quotes are always placed around fields.\n csv.QUOTE_NONNUMERIC means that quotes are always placed around\n fields which do not parse as integers or floating point\n numbers.\n csv.QUOTE_NONE means that quotes are never placed around fields.\n * escapechar - specifies a one-character string used to escape\n the delimiter when quoting is set to QUOTE_NONE.\n * doublequote - controls the handling of quotes inside fields. When\n True, two consecutive quotes are interpreted as one during read,\n and when writing, each quote character embedded in the data is\n written as two quotes\n")),
+ ("_csv", Some("CSV parsing and writing.\n\nThis module provides classes that assist in the reading and writing\nof Comma Separated Value (CSV) files, and implements the interface\ndescribed by PEP 305. Although many CSV files are simple to parse,\nthe format is not formally defined by a stable specification and\nis subtle enough that parsing lines of a CSV file with something\nlike line.split(\",\") is bound to fail. The module supports three\nbasic APIs: reading, writing, and registration of dialects.\n\n\nDIALECT REGISTRATION:\n\nReaders and writers support a dialect argument, which is a convenient\nhandle on a group of settings. When the dialect argument is a string,\nit identifies one of the dialects previously registered with the module.\nIf it is a class or instance, the attributes of the argument are used as\nthe settings for the reader or writer:\n\n class excel:\n delimiter = ','\n quotechar = '\"'\n escapechar = None\n doublequote = True\n skipinitialspace = False\n lineterminator = '\\r\\n'\n quoting = QUOTE_MINIMAL\n\nSETTINGS:\n\n * quotechar - specifies a one-character string to use as the\n quoting character. It defaults to '\"'.\n * delimiter - specifies a one-character string to use as the\n field separator. It defaults to ','.\n * skipinitialspace - specifies how to interpret spaces which\n immediately follow a delimiter. It defaults to False, which\n means that spaces immediately following a delimiter is part\n of the following field.\n * lineterminator - specifies the character sequence which should\n terminate rows.\n * quoting - controls when quotes should be generated by the writer.\n It can take on any of the following module constants:\n\n csv.QUOTE_MINIMAL means only when required, for example, when a\n field contains either the quotechar or the delimiter\n csv.QUOTE_ALL means that quotes are always placed around fields.\n csv.QUOTE_NONNUMERIC means that quotes are always placed around\n fields which do not parse as integers or floating point\n numbers.\n csv.QUOTE_NONE means that quotes are never placed around fields.\n * escapechar - specifies a one-character string used to escape\n the delimiter when quoting is set to QUOTE_NONE.\n * doublequote - controls the handling of quotes inside fields. When\n True, two consecutive quotes are interpreted as one during read,\n and when writing, each quote character embedded in the data is\n written as two quotes\n")),
("_csv.Dialect", Some("CSV dialect\n\nThe Dialect type records CSV parsing and generation options.\n")),
("_csv.Dialect.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
("_csv.Dialect.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
@@ -1148,6 +1185,14 @@
("_csv.Error.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
("_csv.Error.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
("_csv.Error.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
+ ("_csv.Reader", Some("CSV reader\n\nReader objects are responsible for reading and parsing tabular data\nin CSV format.\n")),
+ ("_csv.Reader.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
+ ("_csv.Reader.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
+ ("_csv.Reader.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
+ ("_csv.Writer", Some("CSV writer\n\nWriter objects are responsible for generating tabular data\nin CSV format from sequence input.\n")),
+ ("_csv.Writer.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
+ ("_csv.Writer.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
+ ("_csv.Writer.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
("_csv.field_size_limit", Some("Sets an upper limit on parsed fields.\n csv.field_size_limit([limit])\n\nReturns old limit. If limit is not given, no new limit is set and\nthe old limit is returned")),
("_csv.get_dialect", Some("Return the dialect instance associated with name.\n dialect = csv.get_dialect(name)")),
("_csv.list_dialects", Some("Return a list of all know dialect names.\n names = csv.list_dialects()")),
@@ -1155,131 +1200,8 @@
("_csv.register_dialect", Some("Create a mapping from a string name to a dialect class.\n dialect = csv.register_dialect(name[, dialect[, **fmtparams]])")),
("_csv.unregister_dialect", Some("Delete the name/dialect mapping associated with a string name.\n csv.unregister_dialect(name)")),
("_csv.writer", Some(" csv_writer = csv.writer(fileobj [, dialect='excel']\n [optional keyword args])\n for row in sequence:\n csv_writer.writerow(row)\n\n [or]\n\n csv_writer = csv.writer(fileobj [, dialect='excel']\n [optional keyword args])\n csv_writer.writerows(rows)\n\nThe \"fileobj\" argument can be any object that supports the file API.\n")),
- ("_ctypes", Some("Create and manipulate C compatible data types in Python.")),
- ("_ctypes.POINTER", None),
- ("_ctypes.PyObj_FromPtr", None),
- ("_ctypes.Py_DECREF", None),
- ("_ctypes.Py_INCREF", None),
- ("_ctypes._dyld_shared_cache_contains_path", Some("check if path is in the shared cache")),
- ("_ctypes._unpickle", None),
- ("_ctypes.addressof", Some("addressof(C instance) -> integer\nReturn the address of the C instance internal buffer")),
- ("_ctypes.alignment", Some("alignment(C type) -> integer\nalignment(C instance) -> integer\nReturn the alignment requirements of a C instance")),
- ("_ctypes.buffer_info", Some("Return buffer interface information")),
- ("_ctypes.byref", Some("byref(C instance[, offset=0]) -> byref-object\nReturn a pointer lookalike to a C instance, only usable\nas function argument")),
- ("_ctypes.call_cdeclfunction", None),
- ("_ctypes.call_function", None),
- ("_ctypes.dlclose", Some("dlclose a library")),
- ("_ctypes.dlopen", Some("dlopen(name, flag={RTLD_GLOBAL|RTLD_LOCAL}) open a shared library")),
- ("_ctypes.dlsym", Some("find symbol in shared library")),
- ("_ctypes.get_errno", None),
- ("_ctypes.pointer", None),
- ("_ctypes.resize", Some("Resize the memory buffer of a ctypes instance")),
- ("_ctypes.set_errno", None),
- ("_ctypes.sizeof", Some("sizeof(C type) -> integer\nsizeof(C instance) -> integer\nReturn the size in bytes of a C instance")),
- ("_ctypes_test.func", None),
- ("_ctypes_test.func_si", None),
- ("_curses.baudrate", Some("Return the output speed of the terminal in bits per second.")),
- ("_curses.beep", Some("Emit a short attention sound.")),
- ("_curses.can_change_color", Some("Return True if the programmer can change the colors displayed by the terminal.")),
- ("_curses.cbreak", Some("Enter cbreak mode.\n\n flag\n If false, the effect is the same as calling nocbreak().\n\nIn cbreak mode (sometimes called \"rare\" mode) normal tty line buffering is\nturned off and characters are available to be read one by one. However,\nunlike raw mode, special characters (interrupt, quit, suspend, and flow\ncontrol) retain their effects on the tty driver and calling program.\nCalling first raw() then cbreak() leaves the terminal in cbreak mode.")),
- ("_curses.color_content", Some("Return the red, green, and blue (RGB) components of the specified color.\n\n color_number\n The number of the color (0 - (COLORS-1)).\n\nA 3-tuple is returned, containing the R, G, B values for the given color,\nwhich will be between 0 (no component) and 1000 (maximum amount of component).")),
- ("_curses.color_pair", Some("Return the attribute value for displaying text in the specified color.\n\n pair_number\n The number of the color pair.\n\nThis attribute value can be combined with A_STANDOUT, A_REVERSE, and the\nother A_* attributes. pair_number() is the counterpart to this function.")),
- ("_curses.curs_set", Some("Set the cursor state.\n\n visibility\n 0 for invisible, 1 for normal visible, or 2 for very visible.\n\nIf the terminal supports the visibility requested, the previous cursor\nstate is returned; otherwise, an exception is raised. On many terminals,\nthe \"visible\" mode is an underline cursor and the \"very visible\" mode is\na block cursor.")),
- ("_curses.def_prog_mode", Some("Save the current terminal mode as the \"program\" mode.\n\nThe \"program\" mode is the mode when the running program is using curses.\n\nSubsequent calls to reset_prog_mode() will restore this mode.")),
- ("_curses.def_shell_mode", Some("Save the current terminal mode as the \"shell\" mode.\n\nThe \"shell\" mode is the mode when the running program is not using curses.\n\nSubsequent calls to reset_shell_mode() will restore this mode.")),
- ("_curses.delay_output", Some("Insert a pause in output.\n\n ms\n Duration in milliseconds.")),
- ("_curses.doupdate", Some("Update the physical screen to match the virtual screen.")),
- ("_curses.echo", Some("Enter echo mode.\n\n flag\n If false, the effect is the same as calling noecho().\n\nIn echo mode, each character input is echoed to the screen as it is entered.")),
- ("_curses.endwin", Some("De-initialize the library, and return terminal to normal status.")),
- ("_curses.erasechar", Some("Return the user's current erase character.")),
- ("_curses.error.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_curses.error.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_curses.error.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_curses.filter", None),
- ("_curses.flash", Some("Flash the screen.\n\nThat is, change it to reverse-video and then change it back in a short interval.")),
- ("_curses.flushinp", Some("Flush all input buffers.\n\nThis throws away any typeahead that has been typed by the user and has not\nyet been processed by the program.")),
- ("_curses.get_escdelay", Some("Gets the curses ESCDELAY setting.\n\nGets the number of milliseconds to wait after reading an escape character,\nto distinguish between an individual escape character entered on the\nkeyboard from escape sequences sent by cursor and function keys.")),
- ("_curses.get_tabsize", Some("Gets the curses TABSIZE setting.\n\nGets the number of columns used by the curses library when converting a tab\ncharacter to spaces as it adds the tab to a window.")),
- ("_curses.getmouse", Some("Retrieve the queued mouse event.\n\nAfter getch() returns KEY_MOUSE to signal a mouse event, this function\nreturns a 5-tuple (id, x, y, z, bstate).")),
- ("_curses.getsyx", Some("Return the current coordinates of the virtual screen cursor.\n\nReturn a (y, x) tuple. If leaveok is currently true, return (-1, -1).")),
- ("_curses.getwin", Some("Read window related data stored in the file by an earlier putwin() call.\n\nThe routine then creates and initializes a new window using that data,\nreturning the new window object.")),
- ("_curses.halfdelay", Some("Enter half-delay mode.\n\n tenths\n Maximal blocking delay in tenths of seconds (1 - 255).\n\nUse nocbreak() to leave half-delay mode.")),
- ("_curses.has_colors", Some("Return True if the terminal can display colors; otherwise, return False.")),
- ("_curses.has_ic", Some("Return True if the terminal has insert- and delete-character capabilities.")),
- ("_curses.has_il", Some("Return True if the terminal has insert- and delete-line capabilities.")),
- ("_curses.has_key", Some("Return True if the current terminal type recognizes a key with that value.\n\n key\n Key number.")),
- ("_curses.init_color", Some("Change the definition of a color.\n\n color_number\n The number of the color to be changed (0 - (COLORS-1)).\n r\n Red component (0 - 1000).\n g\n Green component (0 - 1000).\n b\n Blue component (0 - 1000).\n\nWhen init_color() is used, all occurrences of that color on the screen\nimmediately change to the new definition. This function is a no-op on\nmost terminals; it is active only if can_change_color() returns true.")),
- ("_curses.init_pair", Some("Change the definition of a color-pair.\n\n pair_number\n The number of the color-pair to be changed (1 - (COLOR_PAIRS-1)).\n fg\n Foreground color number (-1 - (COLORS-1)).\n bg\n Background color number (-1 - (COLORS-1)).\n\nIf the color-pair was previously initialized, the screen is refreshed and\nall occurrences of that color-pair are changed to the new definition.")),
- ("_curses.initscr", Some("Initialize the library.\n\nReturn a WindowObject which represents the whole screen.")),
- ("_curses.intrflush", None),
- ("_curses.is_term_resized", Some("Return True if resize_term() would modify the window structure, False otherwise.\n\n nlines\n Height.\n ncols\n Width.")),
- ("_curses.isendwin", Some("Return True if endwin() has been called.")),
- ("_curses.keyname", Some("Return the name of specified key.\n\n key\n Key number.")),
- ("_curses.killchar", Some("Return the user's current line kill character.")),
- ("_curses.longname", Some("Return the terminfo long name field describing the current terminal.\n\nThe maximum length of a verbose description is 128 characters. It is defined\nonly after the call to initscr().")),
- ("_curses.meta", Some("Enable/disable meta keys.\n\nIf yes is True, allow 8-bit characters to be input. If yes is False,\nallow only 7-bit characters.")),
- ("_curses.mouseinterval", Some("Set and retrieve the maximum time between press and release in a click.\n\n interval\n Time in milliseconds.\n\nSet the maximum time that can elapse between press and release events in\norder for them to be recognized as a click, and return the previous interval\nvalue.")),
- ("_curses.mousemask", Some("Set the mouse events to be reported, and return a tuple (availmask, oldmask).\n\nReturn a tuple (availmask, oldmask). availmask indicates which of the\nspecified mouse events can be reported; on complete failure it returns 0.\noldmask is the previous value of the given window's mouse event mask.\nIf this function is never called, no mouse events are ever reported.")),
- ("_curses.napms", Some("Sleep for specified time.\n\n ms\n Duration in milliseconds.")),
- ("_curses.newpad", Some("Create and return a pointer to a new pad data structure.\n\n nlines\n Height.\n ncols\n Width.")),
- ("_curses.newwin", Some("newwin(nlines, ncols, [begin_y=0, begin_x=0])\nReturn a new window.\n\n nlines\n Height.\n ncols\n Width.\n begin_y\n Top side y-coordinate.\n begin_x\n Left side x-coordinate.\n\nBy default, the window will extend from the specified position to the lower\nright corner of the screen.")),
- ("_curses.nl", Some("Enter newline mode.\n\n flag\n If false, the effect is the same as calling nonl().\n\nThis mode translates the return key into newline on input, and translates\nnewline into return and line-feed on output. Newline mode is initially on.")),
- ("_curses.nocbreak", Some("Leave cbreak mode.\n\nReturn to normal \"cooked\" mode with line buffering.")),
- ("_curses.noecho", Some("Leave echo mode.\n\nEchoing of input characters is turned off.")),
- ("_curses.nonl", Some("Leave newline mode.\n\nDisable translation of return into newline on input, and disable low-level\ntranslation of newline into newline/return on output.")),
- ("_curses.noqiflush", Some("Disable queue flushing.\n\nWhen queue flushing is disabled, normal flush of input and output queues\nassociated with the INTR, QUIT and SUSP characters will not be done.")),
- ("_curses.noraw", Some("Leave raw mode.\n\nReturn to normal \"cooked\" mode with line buffering.")),
- ("_curses.pair_content", Some("Return a tuple (fg, bg) containing the colors for the requested color pair.\n\n pair_number\n The number of the color pair (1 - (COLOR_PAIRS-1)).")),
- ("_curses.pair_number", Some("Return the number of the color-pair set by the specified attribute value.\n\ncolor_pair() is the counterpart to this function.")),
- ("_curses.putp", Some("Emit the value of a specified terminfo capability for the current terminal.\n\nNote that the output of putp() always goes to standard output.")),
- ("_curses.qiflush", Some("Enable queue flushing.\n\n flag\n If false, the effect is the same as calling noqiflush().\n\nIf queue flushing is enabled, all output in the display driver queue\nwill be flushed when the INTR, QUIT and SUSP characters are read.")),
- ("_curses.raw", Some("Enter raw mode.\n\n flag\n If false, the effect is the same as calling noraw().\n\nIn raw mode, normal line buffering and processing of interrupt, quit,\nsuspend, and flow control keys are turned off; characters are presented to\ncurses input functions one by one.")),
- ("_curses.reset_prog_mode", Some("Restore the terminal to \"program\" mode, as previously saved by def_prog_mode().")),
- ("_curses.reset_shell_mode", Some("Restore the terminal to \"shell\" mode, as previously saved by def_shell_mode().")),
- ("_curses.resetty", Some("Restore terminal mode.")),
- ("_curses.resize_term", Some("Backend function used by resizeterm(), performing most of the work.\n\n nlines\n Height.\n ncols\n Width.\n\nWhen resizing the windows, resize_term() blank-fills the areas that are\nextended. The calling application should fill in these areas with appropriate\ndata. The resize_term() function attempts to resize all windows. However,\ndue to the calling convention of pads, it is not possible to resize these\nwithout additional interaction with the application.")),
- ("_curses.resizeterm", Some("Resize the standard and current windows to the specified dimensions.\n\n nlines\n Height.\n ncols\n Width.\n\nAdjusts other bookkeeping data used by the curses library that record the\nwindow dimensions (in particular the SIGWINCH handler).")),
- ("_curses.savetty", Some("Save terminal mode.")),
- ("_curses.set_escdelay", Some("Sets the curses ESCDELAY setting.\n\n ms\n length of the delay in milliseconds.\n\nSets the number of milliseconds to wait after reading an escape character,\nto distinguish between an individual escape character entered on the\nkeyboard from escape sequences sent by cursor and function keys.")),
- ("_curses.set_tabsize", Some("Sets the curses TABSIZE setting.\n\n size\n rendered cell width of a tab character.\n\nSets the number of columns used by the curses library when converting a tab\ncharacter to spaces as it adds the tab to a window.")),
- ("_curses.setsyx", Some("Set the virtual screen cursor.\n\n y\n Y-coordinate.\n x\n X-coordinate.\n\nIf y and x are both -1, then leaveok is set.")),
- ("_curses.setupterm", Some("Initialize the terminal.\n\n term\n Terminal name.\n If omitted, the value of the TERM environment variable will be used.\n fd\n File descriptor to which any initialization sequences will be sent.\n If not supplied, the file descriptor for sys.stdout will be used.")),
- ("_curses.start_color", Some("Initializes eight basic colors and global variables COLORS and COLOR_PAIRS.\n\nMust be called if the programmer wants to use colors, and before any other\ncolor manipulation routine is called. It is good practice to call this\nroutine right after initscr().\n\nIt also restores the colors on the terminal to the values they had when the\nterminal was just turned on.")),
- ("_curses.termattrs", Some("Return a logical OR of all video attributes supported by the terminal.")),
- ("_curses.termname", Some("Return the value of the environment variable TERM, truncated to 14 characters.")),
- ("_curses.tigetflag", Some("Return the value of the Boolean capability.\n\n capname\n The terminfo capability name.\n\nThe value -1 is returned if capname is not a Boolean capability, or 0 if\nit is canceled or absent from the terminal description.")),
- ("_curses.tigetnum", Some("Return the value of the numeric capability.\n\n capname\n The terminfo capability name.\n\nThe value -2 is returned if capname is not a numeric capability, or -1 if\nit is canceled or absent from the terminal description.")),
- ("_curses.tigetstr", Some("Return the value of the string capability.\n\n capname\n The terminfo capability name.\n\nNone is returned if capname is not a string capability, or is canceled or\nabsent from the terminal description.")),
- ("_curses.tparm", Some("Instantiate the specified byte string with the supplied parameters.\n\n str\n Parameterized byte string obtained from the terminfo database.")),
- ("_curses.typeahead", Some("Specify that the file descriptor fd be used for typeahead checking.\n\n fd\n File descriptor.\n\nIf fd is -1, then no typeahead checking is done.")),
- ("_curses.unctrl", Some("Return a string which is a printable representation of the character ch.\n\nControl characters are displayed as a caret followed by the character,\nfor example as ^C. Printing characters are left as they are.")),
- ("_curses.unget_wch", Some("Push ch so the next get_wch() will return it.")),
- ("_curses.ungetch", Some("Push ch so the next getch() will return it.")),
- ("_curses.ungetmouse", Some("Push a KEY_MOUSE event onto the input queue.\n\nThe following getmouse() will return the given state data.")),
- ("_curses.update_lines_cols", None),
- ("_curses.use_default_colors", Some("Allow use of default values for colors on terminals supporting this feature.\n\nUse this to support transparency in your application. The default color\nis assigned to the color number -1.")),
- ("_curses.use_env", Some("Use environment variables LINES and COLUMNS.\n\nIf used, this function should be called before initscr() or newterm() are\ncalled.\n\nWhen flag is False, the values of lines and columns specified in the terminfo\ndatabase will be used, even if environment variables LINES and COLUMNS (used\nby default) are set, or if curses is running in a window (in which case\ndefault behavior would be to use the window size if LINES and COLUMNS are\nnot set).")),
- ("_curses.window.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_curses.window.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_curses.window.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_curses_panel.bottom_panel", Some("Return the bottom panel in the panel stack.")),
- ("_curses_panel.error.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_curses_panel.error.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_curses_panel.error.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_curses_panel.new_panel", Some("Return a panel object, associating it with the given window win.")),
- ("_curses_panel.panel.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_curses_panel.panel.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_curses_panel.panel.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_curses_panel.top_panel", Some("Return the top panel in the panel stack.")),
- ("_curses_panel.update_panels", Some("Updates the virtual screen after changes in the panel stack.\n\nThis does not call curses.doupdate(), so you'll have to do this yourself.")),
("_datetime", Some("Fast implementation of the datetime type.")),
- ("_dbm.error.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_dbm.error.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_dbm.error.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_dbm.open", Some("Return a database object.\n\n filename\n The filename to open.\n flags\n How to open the file. \"r\" for reading, \"w\" for writing, etc.\n mode\n If creating a new file, the mode bits for the new file\n (e.g. os.O_RDWR).")),
("_decimal", Some("C decimal arithmetic module")),
- ("_elementtree.SubElement", None),
- ("_elementtree._set_factories", Some("Change the factories used to create comments and processing instructions.\n\nFor internal use only.")),
("_hashlib", Some("OpenSSL interface for hashlib module")),
("_hashlib.HASH", Some("A hash is an object used to calculate a checksum of a string of information.\n\nMethods:\n\nupdate() -- updates the current digest with an additional string\ndigest() -- return the current digest value\nhexdigest() -- return the current digest as a string of hexadecimal digits\ncopy() -- return a copy of the current hash object\n\nAttributes:\n\nname -- the hash algorithm being used by this object\ndigest_size -- number of bytes in this hashes output")),
("_hashlib.HASH.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
@@ -1293,6 +1215,9 @@
("_hashlib.HMAC.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
("_hashlib.HMAC.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
("_hashlib.HMAC.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
+ ("_hashlib.UnsupportedDigestmodError.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
+ ("_hashlib.UnsupportedDigestmodError.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
+ ("_hashlib.UnsupportedDigestmodError.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
("_hashlib.compare_digest", Some("Return 'a == b'.\n\nThis function uses an approach designed to prevent\ntiming analysis, making it appropriate for cryptography.\n\na and b must both be of the same type: either str (ASCII only),\nor any bytes-like object.\n\nNote: If a and b are of different lengths, or if an error occurs,\na timing attack could theoretically reveal information about the\ntypes and lengths of a and b--but not their values.")),
("_hashlib.get_fips_mode", Some("Determine the OpenSSL FIPS mode of operation.\n\nFor OpenSSL 3.0.0 and newer it returns the state of the default provider\nin the default OSSL context. It's not quite the same as FIPS_mode() but good\nenough for unittests.\n\nEffectively any non-zero return value indicates FIPS mode;\nvalues other than 1 may have additional significance.")),
("_hashlib.hmac_digest", Some("Single-shot HMAC.")),
@@ -1333,39 +1258,6 @@
("_json.make_scanner.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
("_json.make_scanner.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
("_json.scanstring", Some("scanstring(string, end, strict=True) -> (string, end)\n\nScan the string s for a JSON string. End is the index of the\ncharacter in s after the quote that started the JSON string.\nUnescapes all valid JSON string escape sequences and raises ValueError\non attempt to decode an invalid string. If strict is False then literal\ncontrol characters are allowed in the string.\n\nReturns a tuple of the decoded string and the index of the character in s\nafter the end quote.")),
- ("_lsprof", Some("Fast profiler")),
- ("_lsprof.Profiler", Some("Profiler(timer=None, timeunit=None, subcalls=True, builtins=True)\n\n Builds a profiler object using the specified timer function.\n The default timer is a fast built-in one based on real time.\n For custom timer functions returning integers, timeunit can\n be a float specifying a scale (i.e. how long each integer unit\n is, in seconds).\n")),
- ("_lsprof.Profiler.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_lsprof.Profiler.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_lsprof.Profiler.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_lsprof.profiler_entry.__class_getitem__", Some("See PEP 585")),
- ("_lsprof.profiler_entry.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_lsprof.profiler_entry.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_lsprof.profiler_entry.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_lsprof.profiler_subentry.__class_getitem__", Some("See PEP 585")),
- ("_lsprof.profiler_subentry.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_lsprof.profiler_subentry.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_lsprof.profiler_subentry.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_lzma.LZMACompressor", Some("LZMACompressor(format=FORMAT_XZ, check=-1, preset=None, filters=None)\n\nCreate a compressor object for compressing data incrementally.\n\nformat specifies the container format to use for the output. This can\nbe FORMAT_XZ (default), FORMAT_ALONE, or FORMAT_RAW.\n\ncheck specifies the integrity check to use. For FORMAT_XZ, the default\nis CHECK_CRC64. FORMAT_ALONE and FORMAT_RAW do not support integrity\nchecks; for these formats, check must be omitted, or be CHECK_NONE.\n\nThe settings used by the compressor can be specified either as a\npreset compression level (with the 'preset' argument), or in detail\nas a custom filter chain (with the 'filters' argument). For FORMAT_XZ\nand FORMAT_ALONE, the default is to use the PRESET_DEFAULT preset\nlevel. For FORMAT_RAW, the caller must always specify a filter chain;\nthe raw compressor does not support preset compression levels.\n\npreset (if provided) should be an integer in the range 0-9, optionally\nOR-ed with the constant PRESET_EXTREME.\n\nfilters (if provided) should be a sequence of dicts. Each dict should\nhave an entry for \"id\" indicating the ID of the filter, plus\nadditional entries for options to the filter.\n\nFor one-shot compression, use the compress() function instead.\n")),
- ("_lzma.LZMACompressor.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_lzma.LZMACompressor.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_lzma.LZMACompressor.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_lzma.LZMADecompressor", Some("Create a decompressor object for decompressing data incrementally.\n\n format\n Specifies the container format of the input stream. If this is\n FORMAT_AUTO (the default), the decompressor will automatically detect\n whether the input is FORMAT_XZ or FORMAT_ALONE. Streams created with\n FORMAT_RAW cannot be autodetected.\n memlimit\n Limit the amount of memory used by the decompressor. This will cause\n decompression to fail if the input cannot be decompressed within the\n given limit.\n filters\n A custom filter chain. This argument is required for FORMAT_RAW, and\n not accepted with any other format. When provided, this should be a\n sequence of dicts, each indicating the ID and options for a single\n filter.\n\nFor one-shot decompression, use the decompress() function instead.")),
- ("_lzma.LZMADecompressor.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_lzma.LZMADecompressor.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_lzma.LZMADecompressor.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_lzma.LZMAError", Some("Call to liblzma failed.")),
- ("_lzma.LZMAError.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_lzma.LZMAError.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_lzma.LZMAError.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_lzma._decode_filter_properties", Some("Return a bytes object encoding the options (properties) of the filter specified by *filter* (a dict).\n\nThe result does not include the filter ID itself, only the options.")),
- ("_lzma._encode_filter_properties", Some("Return a bytes object encoding the options (properties) of the filter specified by *filter* (a dict).\n\nThe result does not include the filter ID itself, only the options.")),
- ("_lzma.is_check_supported", Some("Test whether the given integrity check is supported.\n\nAlways returns True for CHECK_NONE and CHECK_CRC32.")),
- ("_md5.MD5Type.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_md5.MD5Type.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_md5.MD5Type.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_md5.md5", Some("Return a new MD5 hash object; optionally initialized with a string.")),
- ("_multibytecodec.__create_codec", None),
("_multiprocessing.SemLock", Some("Semaphore/Mutex type")),
("_multiprocessing.SemLock.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
("_multiprocessing.SemLock.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
@@ -1396,9 +1288,6 @@
("_pickle.dumps", Some("Return the pickled representation of the object as a bytes object.\n\nThe optional *protocol* argument tells the pickler to use the given\nprotocol; supported protocols are 0, 1, 2, 3, 4 and 5. The default\nprotocol is 4. It was introduced in Python 3.4, and is incompatible\nwith previous versions.\n\nSpecifying a negative protocol version selects the highest protocol\nversion supported. The higher the protocol used, the more recent the\nversion of Python needed to read the pickle produced.\n\nIf *fix_imports* is True and *protocol* is less than 3, pickle will\ntry to map the new Python 3 names to the old module names used in\nPython 2, so that the pickle data stream is readable with Python 2.\n\nIf *buffer_callback* is None (the default), buffer views are serialized\ninto *file* as part of the pickle stream. It is an error if\n*buffer_callback* is not None and *protocol* is None or smaller than 5.")),
("_pickle.load", Some("Read and return an object from the pickle data stored in a file.\n\nThis is equivalent to ``Unpickler(file).load()``, but may be more\nefficient.\n\nThe protocol version of the pickle is detected automatically, so no\nprotocol argument is needed. Bytes past the pickled object's\nrepresentation are ignored.\n\nThe argument *file* must have two methods, a read() method that takes\nan integer argument, and a readline() method that requires no\narguments. Both methods should return bytes. Thus *file* can be a\nbinary file object opened for reading, an io.BytesIO object, or any\nother custom object that meets this interface.\n\nOptional keyword arguments are *fix_imports*, *encoding* and *errors*,\nwhich are used to control compatibility support for pickle stream\ngenerated by Python 2. If *fix_imports* is True, pickle will try to\nmap the old Python 2 names to the new names used in Python 3. The\n*encoding* and *errors* tell pickle how to decode 8-bit string\ninstances pickled by Python 2; these default to 'ASCII' and 'strict',\nrespectively. The *encoding* can be 'bytes' to read these 8-bit\nstring instances as bytes objects.")),
("_pickle.loads", Some("Read and return an object from the given pickle data.\n\nThe protocol version of the pickle is detected automatically, so no\nprotocol argument is needed. Bytes past the pickled object's\nrepresentation are ignored.\n\nOptional keyword arguments are *fix_imports*, *encoding* and *errors*,\nwhich are used to control compatibility support for pickle stream\ngenerated by Python 2. If *fix_imports* is True, pickle will try to\nmap the old Python 2 names to the new names used in Python 3. The\n*encoding* and *errors* tell pickle how to decode 8-bit string\ninstances pickled by Python 2; these default to 'ASCII' and 'strict',\nrespectively. The *encoding* can be 'bytes' to read these 8-bit\nstring instances as bytes objects.")),
- ("_posixshmem", Some("POSIX shared memory module")),
- ("_posixshmem.shm_open", Some("Open a shared memory object. Returns a file descriptor (integer).")),
- ("_posixshmem.shm_unlink", Some("Remove a shared memory object (similar to unlink()).\n\nRemove a shared memory object name, and, once all processes have unmapped\nthe object, de-allocates and destroys the contents of the associated memory\nregion.")),
("_posixsubprocess", Some("A POSIX helper for the subprocess module.")),
("_posixsubprocess.fork_exec", Some("fork_exec(args, executable_list, close_fds, pass_fds, cwd, env,\n p2cread, p2cwrite, c2pread, c2pwrite,\n errread, errwrite, errpipe_read, errpipe_write,\n restore_signals, call_setsid,\n gid, groups_list, uid,\n preexec_fn)\n\nForks a child process, closes parent file descriptors as appropriate in the\nchild and dups the few that are needed before calling exec() in the child\nprocess.\n\nIf close_fds is true, close file descriptors 3 and higher, except those listed\nin the sorted tuple pass_fds.\n\nThe preexec_fn, if supplied, will be called immediately before closing file\ndescriptors and exec.\nWARNING: preexec_fn is NOT SAFE if your application uses threads.\n It may trigger infrequent, difficult to debug deadlocks.\n\nIf an error occurs in the child process before the exec, it is\nserialized and written to the errpipe_write fd per subprocess.py.\n\nReturns: the child process's PID.\n\nRaises: Only on an error in the parent process.\n")),
("_queue", Some("C implementation of the Python queue module.\nThis module is an implementation detail, please do not use it directly.")),
@@ -1416,52 +1305,6 @@
("_random.Random.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
("_random.Random.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
("_random.Random.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_scproxy._get_proxies", None),
- ("_scproxy._get_proxy_settings", None),
- ("_sha1.SHA1Type.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_sha1.SHA1Type.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_sha1.SHA1Type.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_sha1.sha1", Some("Return a new SHA1 hash object; optionally initialized with a string.")),
- ("_sha256.SHA224Type.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_sha256.SHA224Type.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_sha256.SHA224Type.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_sha256.SHA256Type.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_sha256.SHA256Type.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_sha256.SHA256Type.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_sha256.sha224", Some("Return a new SHA-224 hash object; optionally initialized with a string.")),
- ("_sha256.sha256", Some("Return a new SHA-256 hash object; optionally initialized with a string.")),
- ("_sha3.sha3_224", Some("sha3_224([data], *, usedforsecurity=True) -> SHA3 object\n\nReturn a new SHA3 hash object with a hashbit length of 28 bytes.")),
- ("_sha3.sha3_224.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_sha3.sha3_224.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_sha3.sha3_224.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_sha3.sha3_256", Some("sha3_256([data], *, usedforsecurity=True) -> SHA3 object\n\nReturn a new SHA3 hash object with a hashbit length of 32 bytes.")),
- ("_sha3.sha3_256.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_sha3.sha3_256.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_sha3.sha3_256.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_sha3.sha3_384", Some("sha3_384([data], *, usedforsecurity=True) -> SHA3 object\n\nReturn a new SHA3 hash object with a hashbit length of 48 bytes.")),
- ("_sha3.sha3_384.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_sha3.sha3_384.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_sha3.sha3_384.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_sha3.sha3_512", Some("sha3_512([data], *, usedforsecurity=True) -> SHA3 object\n\nReturn a new SHA3 hash object with a hashbit length of 64 bytes.")),
- ("_sha3.sha3_512.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_sha3.sha3_512.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_sha3.sha3_512.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_sha3.shake_128", Some("shake_128([data], *, usedforsecurity=True) -> SHAKE object\n\nReturn a new SHAKE hash object.")),
- ("_sha3.shake_128.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_sha3.shake_128.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_sha3.shake_128.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_sha3.shake_256", Some("shake_256([data], *, usedforsecurity=True) -> SHAKE object\n\nReturn a new SHAKE hash object.")),
- ("_sha3.shake_256.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_sha3.shake_256.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_sha3.shake_256.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_sha512.SHA384Type.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_sha512.SHA384Type.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_sha512.SHA384Type.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_sha512.SHA512Type.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_sha512.SHA512Type.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_sha512.SHA512Type.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_sha512.sha384", Some("Return a new SHA-384 hash object; optionally initialized with a string.")),
- ("_sha512.sha512", Some("Return a new SHA-512 hash object; optionally initialized with a string.")),
("_socket", Some("Implementation module for socket operations.\n\nSee the socket module for documentation.")),
("_socket.CMSG_LEN", Some("CMSG_LEN(length) -> control message length\n\nReturn the total length, without trailing padding, of an ancillary\ndata item with associated data of the given length. This value can\noften be used as the buffer size for recvmsg() to receive a single\nitem of ancillary data, but RFC 3542 requires portable applications to\nuse CMSG_SPACE() and thus include space for padding, even when the\nitem will be the last in the buffer. Raises OverflowError if length\nis outside the permissible range of values.")),
("_socket.CMSG_SPACE", Some("CMSG_SPACE(length) -> buffer size\n\nReturn the buffer size needed for recvmsg() to receive an ancillary\ndata item with associated data of the given length, along with any\ntrailing padding. The buffer space needed to receive multiple items\nis the sum of the CMSG_SPACE() values for their associated data\nlengths. Raises OverflowError if length is outside the permissible\nrange of values.")),
@@ -1482,7 +1325,7 @@
("_socket.getservbyname", Some("getservbyname(servicename[, protocolname]) -> integer\n\nReturn a port number from a service name and protocol name.\nThe optional protocol name, if given, should be 'tcp' or 'udp',\notherwise any protocol will match.")),
("_socket.getservbyport", Some("getservbyport(port[, protocolname]) -> string\n\nReturn the service name from a port number and protocol name.\nThe optional protocol name, if given, should be 'tcp' or 'udp',\notherwise any protocol will match.")),
("_socket.htonl", Some("htonl(integer) -> integer\n\nConvert a 32-bit integer from host to network byte order.")),
- ("_socket.htons", Some("htons(integer) -> integer\n\nConvert a 16-bit unsigned integer from host to network byte order.\nNote that in case the received integer does not fit in 16-bit unsigned\ninteger, but does fit in a positive C int, it is silently truncated to\n16-bit unsigned integer.\nHowever, this silent truncation feature is deprecated, and will raise an\nexception in future versions of Python.")),
+ ("_socket.htons", Some("htons(integer) -> integer\n\nConvert a 16-bit unsigned integer from host to network byte order.")),
("_socket.if_indextoname", Some("if_indextoname(if_index)\n\nReturns the interface name corresponding to the interface index if_index.")),
("_socket.if_nameindex", Some("if_nameindex()\n\nReturns a list of network interface information (index, name) tuples.")),
("_socket.if_nametoindex", Some("if_nametoindex(if_name)\n\nReturns the interface index corresponding to the interface name if_name.")),
@@ -1491,7 +1334,7 @@
("_socket.inet_ntop", Some("inet_ntop(af, packed_ip) -> string formatted IP address\n\nConvert a packed IP address of the given family to string format.")),
("_socket.inet_pton", Some("inet_pton(af, ip) -> packed IP address string\n\nConvert an IP address from string format to a packed string suitable\nfor use with low-level network functions.")),
("_socket.ntohl", Some("ntohl(integer) -> integer\n\nConvert a 32-bit integer from network to host byte order.")),
- ("_socket.ntohs", Some("ntohs(integer) -> integer\n\nConvert a 16-bit unsigned integer from network to host byte order.\nNote that in case the received integer does not fit in 16-bit unsigned\ninteger, but does fit in a positive C int, it is silently truncated to\n16-bit unsigned integer.\nHowever, this silent truncation feature is deprecated, and will raise an\nexception in future versions of Python.")),
+ ("_socket.ntohs", Some("ntohs(integer) -> integer\n\nConvert a 16-bit unsigned integer from network to host byte order.")),
("_socket.setdefaulttimeout", Some("setdefaulttimeout(timeout)\n\nSet the default timeout in seconds (float) for new socket objects.\nA value of None indicates that new socket objects have no timeout.\nWhen the socket module is first imported, the default is None.")),
("_socket.sethostname", Some("sethostname(name)\n\nSets the hostname to name.")),
("_socket.socket", Some("socket(family=AF_INET, type=SOCK_STREAM, proto=0) -> socket object\nsocket(family=-1, type=-1, proto=-1, fileno=None) -> socket object\n\nOpen a socket of the given type. The family argument specifies the\naddress family; it defaults to AF_INET. The type argument specifies\nwhether this is a stream (SOCK_STREAM, this is the default)\nor datagram (SOCK_DGRAM) socket. The protocol argument defaults to 0,\nspecifying the default protocol. Keyword arguments are accepted.\nThe socket is created as non-inheritable.\n\nWhen a fileno is passed in, family, type and proto are auto-detected,\nunless they are explicitly set.\n\nA socket object represents one endpoint of a network connection.\n\nMethods of socket objects (keyword arguments not allowed):\n\n_accept() -- accept connection, returning new socket fd and client address\nbind(addr) -- bind the socket to a local address\nclose() -- close the socket\nconnect(addr) -- connect the socket to a remote address\nconnect_ex(addr) -- connect, return an error code instead of an exception\ndup() -- return a new socket fd duplicated from fileno()\nfileno() -- return underlying file descriptor\ngetpeername() -- return remote address [*]\ngetsockname() -- return local address\ngetsockopt(level, optname[, buflen]) -- get socket options\ngettimeout() -- return timeout or None\nlisten([n]) -- start listening for incoming connections\nrecv(buflen[, flags]) -- receive data\nrecv_into(buffer[, nbytes[, flags]]) -- receive data (into a buffer)\nrecvfrom(buflen[, flags]) -- receive data and sender's address\nrecvfrom_into(buffer[, nbytes, [, flags])\n -- receive data and sender's address (into a buffer)\nsendall(data[, flags]) -- send all data\nsend(data[, flags]) -- send data, may not send all of it\nsendto(data[, flags], addr) -- send data to a given address\nsetblocking(bool) -- set or clear the blocking I/O flag\ngetblocking() -- return True if socket is blocking, False if non-blocking\nsetsockopt(level, optname, value[, optlen]) -- set socket options\nsettimeout(None | float) -- set or clear the timeout\nshutdown(how) -- shut down traffic in one or both directions\n\n [*] not available on all platforms!")),
@@ -1499,21 +1342,17 @@
("_socket.socket.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
("_socket.socket.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
("_socket.socketpair", Some("socketpair([family[, type [, proto]]]) -> (socket object, socket object)\n\nCreate a pair of socket objects from the sockets returned by the platform\nsocketpair() function.\nThe arguments are the same as for socket() except the default family is\nAF_UNIX if defined on the platform; otherwise, the default is AF_INET.")),
- ("_sqlite3.adapt", Some("adapt(obj, protocol, alternate) -> adapt obj to given protocol.")),
- ("_sqlite3.complete_statement", Some("complete_statement(sql)\n\nChecks if a string contains a complete SQL statement.")),
- ("_sqlite3.connect", Some("connect(database[, timeout, detect_types, isolation_level,\n check_same_thread, factory, cached_statements, uri])\n\nOpens a connection to the SQLite database file *database*. You can use\n\":memory:\" to open a database connection to a database that resides in\nRAM instead of on disk.")),
- ("_sqlite3.enable_callback_tracebacks", Some("enable_callback_tracebacks(flag)\n\nEnable or disable callback functions throwing errors to stderr.")),
- ("_sqlite3.enable_shared_cache", Some("enable_shared_cache(do_enable)\n\nEnable or disable shared cache mode for the calling thread.")),
- ("_sqlite3.register_adapter", Some("register_adapter(type, callable)\n\nRegisters an adapter with sqlite3's adapter registry.")),
- ("_sqlite3.register_converter", Some("register_converter(typename, callable)\n\nRegisters a converter with sqlite3.")),
("_ssl", Some("Implementation module for SSL socket operations. See the socket module\nfor documentation.")),
+ ("_ssl.Certificate.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
+ ("_ssl.Certificate.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
+ ("_ssl.Certificate.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
("_ssl.MemoryBIO.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
("_ssl.MemoryBIO.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
("_ssl.MemoryBIO.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
("_ssl.RAND_add", Some("Mix string into the OpenSSL PRNG state.\n\nentropy (a float) is a lower bound on the entropy contained in\nstring. See RFC 4086.")),
("_ssl.RAND_bytes", Some("Generate n cryptographically strong pseudo-random bytes.")),
("_ssl.RAND_pseudo_bytes", Some("Generate n pseudo-random bytes.\n\nReturn a pair (bytes, is_cryptographic). is_cryptographic is True\nif the bytes generated are cryptographically strong.")),
- ("_ssl.RAND_status", Some("Returns 1 if the OpenSSL PRNG has been seeded with enough data and 0 if not.\n\nIt is necessary to seed the PRNG with RAND_add() on some platforms before\nusing the ssl() function.")),
+ ("_ssl.RAND_status", Some("Returns True if the OpenSSL PRNG has been seeded with enough data and False if not.\n\nIt is necessary to seed the PRNG with RAND_add() on some platforms before\nusing the ssl() function.")),
("_ssl.SSLSession.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
("_ssl.SSLSession.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
("_ssl.SSLSession.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
@@ -1541,322 +1380,7 @@
("_struct.pack_into", Some("pack_into(format, buffer, offset, v1, v2, ...)\n\nPack the values v1, v2, ... according to the format string and write\nthe packed bytes into the writable buffer buf starting at offset. Note\nthat the offset is a required argument. See help(struct) for more\non format strings.")),
("_struct.unpack", Some("Return a tuple containing values unpacked according to the format string.\n\nThe buffer's size in bytes must be calcsize(format).\n\nSee help(struct) for more on format strings.")),
("_struct.unpack_from", Some("Return a tuple containing values unpacked according to the format string.\n\nThe buffer's size, minus offset, must be at least calcsize(format).\n\nSee help(struct) for more on format strings.")),
- ("_testbuffer.cmp_contig", None),
- ("_testbuffer.get_contiguous", None),
- ("_testbuffer.get_pointer", None),
- ("_testbuffer.get_sizeof_void_p", None),
- ("_testbuffer.is_contiguous", None),
- ("_testbuffer.py_buffer_to_contiguous", None),
- ("_testbuffer.slice_indices", None),
- ("_testcapi.ContainerNoGC.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_testcapi.ContainerNoGC.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_testcapi.ContainerNoGC.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_testcapi.DecodeLocaleEx", None),
- ("_testcapi.EncodeLocaleEx", None),
- ("_testcapi.HeapCTypeSetattr", Some("A heap type without GC, but with overridden __setattr__.\n\nThe 'value' attribute is set to 10 in __init__ and updated via attribute setting.")),
- ("_testcapi.HeapCTypeSetattr.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_testcapi.HeapCTypeSetattr.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_testcapi.HeapCTypeSetattr.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_testcapi.HeapCTypeSubclass", Some("Subclass of HeapCType, without GC.\n\n__init__ sets the 'value' attribute to 10 and 'value2' to 20.")),
- ("_testcapi.HeapCTypeSubclass.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_testcapi.HeapCTypeSubclass.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_testcapi.HeapCTypeSubclass.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_testcapi.HeapCTypeSubclassWithFinalizer", Some("Subclass of HeapCType with a finalizer that reassigns __class__.\n\n__class__ is set to plain HeapCTypeSubclass during finalization.\n__init__ sets the 'value' attribute to 10 and 'value2' to 20.")),
- ("_testcapi.HeapCTypeSubclassWithFinalizer.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_testcapi.HeapCTypeSubclassWithFinalizer.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_testcapi.HeapCTypeSubclassWithFinalizer.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_testcapi.HeapCTypeWithBuffer", Some("Heap type with buffer support.\n\nThe buffer is set to [b'1', b'2', b'3', b'4']")),
- ("_testcapi.HeapCTypeWithBuffer.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_testcapi.HeapCTypeWithBuffer.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_testcapi.HeapCTypeWithBuffer.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_testcapi.HeapCTypeWithDict.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_testcapi.HeapCTypeWithDict.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_testcapi.HeapCTypeWithDict.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_testcapi.HeapCTypeWithNegativeDict.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_testcapi.HeapCTypeWithNegativeDict.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_testcapi.HeapCTypeWithNegativeDict.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_testcapi.HeapCTypeWithWeakref.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_testcapi.HeapCTypeWithWeakref.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_testcapi.HeapCTypeWithWeakref.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_testcapi.HeapGcCType", Some("A heap type with GC, and with overridden dealloc.\n\nThe 'value' attribute is set to 10 in __init__.")),
- ("_testcapi.HeapGcCType.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_testcapi.HeapGcCType.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_testcapi.HeapGcCType.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_testcapi.PyBuffer_SizeFromFormat", None),
- ("_testcapi.PyDateTime_DATE_GET", None),
- ("_testcapi.PyDateTime_DELTA_GET", None),
- ("_testcapi.PyDateTime_GET", None),
- ("_testcapi.PyDateTime_TIME_GET", None),
- ("_testcapi.PyTime_AsMicroseconds", None),
- ("_testcapi.PyTime_AsMilliseconds", None),
- ("_testcapi.PyTime_AsSecondsDouble", None),
- ("_testcapi.PyTime_AsTimeval", None),
- ("_testcapi.PyTime_FromSeconds", None),
- ("_testcapi.PyTime_FromSecondsObject", None),
- ("_testcapi.Py_CompileString", None),
- ("_testcapi.W_STOPCODE", None),
- ("_testcapi._pending_threadfunc", None),
- ("_testcapi._test_thread_state", None),
- ("_testcapi.argparsing", None),
- ("_testcapi.bad_get", None),
- ("_testcapi.call_in_temporary_c_thread", Some("set_error_class(error_class) -> None")),
- ("_testcapi.check_pyobject_forbidden_bytes_is_freed", None),
- ("_testcapi.check_pyobject_freed_is_freed", None),
- ("_testcapi.check_pyobject_null_is_freed", None),
- ("_testcapi.check_pyobject_uninitialized_is_freed", None),
- ("_testcapi.code_newempty", None),
- ("_testcapi.codec_incrementaldecoder", None),
- ("_testcapi.codec_incrementalencoder", None),
- ("_testcapi.crash_no_current_thread", None),
- ("_testcapi.create_cfunction", None),
- ("_testcapi.datetime_check_date", None),
- ("_testcapi.datetime_check_datetime", None),
- ("_testcapi.datetime_check_delta", None),
- ("_testcapi.datetime_check_time", None),
- ("_testcapi.datetime_check_tzinfo", None),
- ("_testcapi.dict_get_version", None),
- ("_testcapi.dict_getitem_knownhash", None),
- ("_testcapi.dict_hassplittable", None),
- ("_testcapi.docstring_empty", None),
- ("_testcapi.docstring_no_signature", Some("This docstring has no signature.")),
- ("_testcapi.docstring_with_invalid_signature", Some("docstring_with_invalid_signature($module, /, boo)\n\nThis docstring has an invalid signature.")),
- ("_testcapi.docstring_with_invalid_signature2", Some("docstring_with_invalid_signature2($module, /, boo)\n\n--\n\nThis docstring also has an invalid signature.")),
- ("_testcapi.docstring_with_signature", Some("This docstring has a valid signature.")),
- ("_testcapi.docstring_with_signature_and_extra_newlines", Some("\nThis docstring has a valid signature and some extra newlines.")),
- ("_testcapi.docstring_with_signature_but_no_doc", None),
- ("_testcapi.docstring_with_signature_with_defaults", Some("\n\nThis docstring has a valid signature with parameters,\nand the parameters take defaults of varying types.")),
- ("_testcapi.error.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_testcapi.error.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_testcapi.error.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_testcapi.exception_print", None),
- ("_testcapi.get_args", None),
- ("_testcapi.get_date_fromdate", None),
- ("_testcapi.get_date_fromtimestamp", None),
- ("_testcapi.get_datetime_fromdateandtime", None),
- ("_testcapi.get_datetime_fromdateandtimeandfold", None),
- ("_testcapi.get_datetime_fromtimestamp", None),
- ("_testcapi.get_delta_fromdsu", None),
- ("_testcapi.get_kwargs", None),
- ("_testcapi.get_mapping_items", None),
- ("_testcapi.get_mapping_keys", None),
- ("_testcapi.get_mapping_values", None),
- ("_testcapi.get_time_fromtime", None),
- ("_testcapi.get_time_fromtimeandfold", None),
- ("_testcapi.get_timezone_utc_capi", None),
- ("_testcapi.get_timezones_offset_zero", None),
- ("_testcapi.getargs_B", None),
- ("_testcapi.getargs_C", None),
- ("_testcapi.getargs_D", None),
- ("_testcapi.getargs_H", None),
- ("_testcapi.getargs_I", None),
- ("_testcapi.getargs_K", None),
- ("_testcapi.getargs_L", None),
- ("_testcapi.getargs_S", None),
- ("_testcapi.getargs_U", None),
- ("_testcapi.getargs_Y", None),
- ("_testcapi.getargs_Z", None),
- ("_testcapi.getargs_Z_hash", None),
- ("_testcapi.getargs_b", None),
- ("_testcapi.getargs_c", None),
- ("_testcapi.getargs_d", None),
- ("_testcapi.getargs_es", None),
- ("_testcapi.getargs_es_hash", None),
- ("_testcapi.getargs_et", None),
- ("_testcapi.getargs_et_hash", None),
- ("_testcapi.getargs_f", None),
- ("_testcapi.getargs_h", None),
- ("_testcapi.getargs_i", None),
- ("_testcapi.getargs_k", None),
- ("_testcapi.getargs_keyword_only", None),
- ("_testcapi.getargs_keywords", None),
- ("_testcapi.getargs_l", None),
- ("_testcapi.getargs_n", None),
- ("_testcapi.getargs_p", None),
- ("_testcapi.getargs_positional_only_and_keywords", None),
- ("_testcapi.getargs_s", None),
- ("_testcapi.getargs_s_hash", None),
- ("_testcapi.getargs_s_star", None),
- ("_testcapi.getargs_tuple", None),
- ("_testcapi.getargs_u", None),
- ("_testcapi.getargs_u_hash", None),
- ("_testcapi.getargs_w_star", None),
- ("_testcapi.getargs_y", None),
- ("_testcapi.getargs_y_hash", None),
- ("_testcapi.getargs_y_star", None),
- ("_testcapi.getargs_z", None),
- ("_testcapi.getargs_z_hash", None),
- ("_testcapi.getargs_z_star", None),
- ("_testcapi.getbuffer_with_null_view", None),
- ("_testcapi.hamt", None),
- ("_testcapi.make_exception_with_doc", None),
- ("_testcapi.make_memoryview_from_NULL_pointer", None),
- ("_testcapi.make_timezones_capi", None),
- ("_testcapi.meth_fastcall", None),
- ("_testcapi.meth_fastcall_keywords", None),
- ("_testcapi.meth_noargs", None),
- ("_testcapi.meth_o", None),
- ("_testcapi.meth_varargs", None),
- ("_testcapi.meth_varargs_keywords", None),
- ("_testcapi.no_docstring", None),
- ("_testcapi.parse_tuple_and_keywords", None),
- ("_testcapi.pymarshal_read_last_object_from_file", None),
- ("_testcapi.pymarshal_read_long_from_file", None),
- ("_testcapi.pymarshal_read_object_from_file", None),
- ("_testcapi.pymarshal_read_short_from_file", None),
- ("_testcapi.pymarshal_write_long_to_file", None),
- ("_testcapi.pymarshal_write_object_to_file", None),
- ("_testcapi.pymem_api_misuse", None),
- ("_testcapi.pymem_buffer_overflow", None),
- ("_testcapi.pymem_getallocatorsname", None),
- ("_testcapi.pymem_malloc_without_gil", None),
- ("_testcapi.pynumber_tobase", None),
- ("_testcapi.pyobject_bytes_from_null", None),
- ("_testcapi.pyobject_fastcall", None),
- ("_testcapi.pyobject_fastcalldict", None),
- ("_testcapi.pyobject_malloc_without_gil", None),
- ("_testcapi.pyobject_repr_from_null", None),
- ("_testcapi.pyobject_str_from_null", None),
- ("_testcapi.pyobject_vectorcall", None),
- ("_testcapi.pytime_object_to_time_t", None),
- ("_testcapi.pytime_object_to_timespec", None),
- ("_testcapi.pytime_object_to_timeval", None),
- ("_testcapi.pyvectorcall_call", None),
- ("_testcapi.raise_SIGINT_then_send_None", None),
- ("_testcapi.raise_exception", None),
- ("_testcapi.raise_memoryerror", None),
- ("_testcapi.remove_mem_hooks", Some("Remove memory hooks.")),
- ("_testcapi.return_null_without_error", None),
- ("_testcapi.return_result_with_error", None),
- ("_testcapi.run_in_subinterp", None),
- ("_testcapi.sequence_getitem", None),
- ("_testcapi.set_errno", None),
- ("_testcapi.set_exc_info", None),
- ("_testcapi.set_nomemory", Some("set_nomemory(start:int, stop:int = 0)")),
- ("_testcapi.stack_pointer", None),
- ("_testcapi.test_L_code", None),
- ("_testcapi.test_Z_code", None),
- ("_testcapi.test_buildvalue_N", None),
- ("_testcapi.test_buildvalue_issue38913", None),
- ("_testcapi.test_capsule", None),
- ("_testcapi.test_config", None),
- ("_testcapi.test_datetime_capi", None),
- ("_testcapi.test_decref_doesnt_leak", None),
- ("_testcapi.test_dict_iteration", None),
- ("_testcapi.test_empty_argparse", None),
- ("_testcapi.test_from_contiguous", None),
- ("_testcapi.test_incref_decref_API", None),
- ("_testcapi.test_incref_doesnt_leak", None),
- ("_testcapi.test_k_code", None),
- ("_testcapi.test_lazy_hash_inheritance", None),
- ("_testcapi.test_list_api", None),
- ("_testcapi.test_long_and_overflow", None),
- ("_testcapi.test_long_api", None),
- ("_testcapi.test_long_as_double", None),
- ("_testcapi.test_long_as_size_t", None),
- ("_testcapi.test_long_as_unsigned_long_long_mask", None),
- ("_testcapi.test_long_long_and_overflow", None),
- ("_testcapi.test_long_numbits", None),
- ("_testcapi.test_longlong_api", None),
- ("_testcapi.test_pymem_alloc0", None),
- ("_testcapi.test_pymem_setallocators", None),
- ("_testcapi.test_pymem_setrawallocators", None),
- ("_testcapi.test_pyobject_setallocators", None),
- ("_testcapi.test_pythread_tss_key_state", None),
- ("_testcapi.test_s_code", None),
- ("_testcapi.test_sizeof_c_types", None),
- ("_testcapi.test_string_from_format", None),
- ("_testcapi.test_string_to_double", None),
- ("_testcapi.test_structseq_newtype_doesnt_leak", None),
- ("_testcapi.test_structseq_newtype_null_descr_doc", None),
- ("_testcapi.test_u_code", None),
- ("_testcapi.test_unicode_compare_with_ascii", None),
- ("_testcapi.test_widechar", None),
- ("_testcapi.test_with_docstring", Some("This is a pretty normal docstring.")),
- ("_testcapi.test_xdecref_doesnt_leak", None),
- ("_testcapi.test_xincref_doesnt_leak", None),
- ("_testcapi.traceback_print", None),
- ("_testcapi.tracemalloc_get_traceback", None),
- ("_testcapi.tracemalloc_track", None),
- ("_testcapi.tracemalloc_untrack", None),
- ("_testcapi.unicode_asucs4", None),
- ("_testcapi.unicode_asutf8", None),
- ("_testcapi.unicode_asutf8andsize", None),
- ("_testcapi.unicode_aswidechar", None),
- ("_testcapi.unicode_aswidecharstring", None),
- ("_testcapi.unicode_copycharacters", None),
- ("_testcapi.unicode_encodedecimal", None),
- ("_testcapi.unicode_findchar", None),
- ("_testcapi.unicode_legacy_string", None),
- ("_testcapi.unicode_transformdecimaltoascii", None),
- ("_testcapi.with_tp_del", None),
- ("_testcapi.without_gc", None),
- ("_testcapi.write_unraisable_exc", None),
- ("_testimportmultiple", Some("_testimportmultiple doc")),
- ("_testinternalcapi.get_configs", None),
- ("_testinternalcapi.get_recursion_depth", None),
- ("_testinternalcapi.test_bswap", None),
- ("_testinternalcapi.test_hashtable", None),
- ("_testmultiphase", Some("Test module main")),
- ("_testmultiphase.call_state_registration_func", Some("register_state(0): call PyState_FindModule()\nregister_state(1): call PyState_AddModule()\nregister_state(2): call PyState_RemoveModule()")),
- ("_testmultiphase.foo", Some("foo(i,j)\n\nReturn the sum of i and j.")),
- ("_tkinter.TclError.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_tkinter.TclError.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_tkinter.TclError.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_tkinter.Tcl_Obj.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_tkinter.Tcl_Obj.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_tkinter.Tcl_Obj.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_tkinter.TkappType.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_tkinter.TkappType.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_tkinter.TkappType.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_tkinter.TkttType.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_tkinter.TkttType.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_tkinter.TkttType.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_tkinter._flatten", None),
- ("_tkinter.create", Some("\n\n wantTk\n if false, then Tk_Init() doesn't get called\n sync\n if true, then pass -sync to wish\n use\n if not None, then pass -use to wish")),
- ("_tkinter.getbusywaitinterval", Some("Return the current busy-wait interval between successive calls to Tcl_DoOneEvent in a threaded Python interpreter.")),
- ("_tkinter.setbusywaitinterval", Some("Set the busy-wait interval in milliseconds between successive calls to Tcl_DoOneEvent in a threaded Python interpreter.\n\nIt should be set to a divisor of the maximum time between frames in an animation.")),
("_uuid.generate_time_safe", None),
- ("_xxsubinterpreters", Some("This module provides primitive operations to manage Python interpreters.\nThe 'interpreters' module provides a more convenient interface.")),
- ("_xxsubinterpreters.ChannelClosedError.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_xxsubinterpreters.ChannelClosedError.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_xxsubinterpreters.ChannelClosedError.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_xxsubinterpreters.ChannelEmptyError.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_xxsubinterpreters.ChannelEmptyError.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_xxsubinterpreters.ChannelEmptyError.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_xxsubinterpreters.ChannelError.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_xxsubinterpreters.ChannelError.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_xxsubinterpreters.ChannelError.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_xxsubinterpreters.ChannelID", Some("A channel ID identifies a channel and may be used as an int.")),
- ("_xxsubinterpreters.ChannelID.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_xxsubinterpreters.ChannelID.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_xxsubinterpreters.ChannelID.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_xxsubinterpreters.ChannelNotEmptyError.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_xxsubinterpreters.ChannelNotEmptyError.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_xxsubinterpreters.ChannelNotEmptyError.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_xxsubinterpreters.ChannelNotFoundError.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_xxsubinterpreters.ChannelNotFoundError.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_xxsubinterpreters.ChannelNotFoundError.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_xxsubinterpreters.RunFailedError.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_xxsubinterpreters.RunFailedError.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_xxsubinterpreters.RunFailedError.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_xxsubinterpreters._channel_id", None),
- ("_xxsubinterpreters.channel_close", Some("channel_close(cid, *, send=None, recv=None, force=False)\n\nClose the channel for all interpreters.\n\nIf the channel is empty then the keyword args are ignored and both\nends are immediately closed. Otherwise, if 'force' is True then\nall queued items are released and both ends are immediately\nclosed.\n\nIf the channel is not empty *and* 'force' is False then following\nhappens:\n\n * recv is True (regardless of send):\n - raise ChannelNotEmptyError\n * recv is None and send is None:\n - raise ChannelNotEmptyError\n * send is True and recv is not True:\n - fully close the 'send' end\n - close the 'recv' end to interpreters not already receiving\n - fully close it once empty\n\nClosing an already closed channel results in a ChannelClosedError.\n\nOnce the channel's ID has no more ref counts in any interpreter\nthe channel will be destroyed.")),
- ("_xxsubinterpreters.channel_create", Some("channel_create() -> cid\n\nCreate a new cross-interpreter channel and return a unique generated ID.")),
- ("_xxsubinterpreters.channel_destroy", Some("channel_destroy(cid)\n\nClose and finalize the channel. Afterward attempts to use the channel\nwill behave as though it never existed.")),
- ("_xxsubinterpreters.channel_list_all", Some("channel_list_all() -> [cid]\n\nReturn the list of all IDs for active channels.")),
- ("_xxsubinterpreters.channel_list_interpreters", Some("channel_list_interpreters(cid, *, send) -> [id]\n\nReturn the list of all interpreter IDs associated with an end of the channel.\n\nThe 'send' argument should be a boolean indicating whether to use the send or\nreceive end.")),
- ("_xxsubinterpreters.channel_recv", Some("channel_recv(cid, [default]) -> obj\n\nReturn a new object from the data at the front of the channel's queue.\n\nIf there is nothing to receive then raise ChannelEmptyError, unless\na default value is provided. In that case return it.")),
- ("_xxsubinterpreters.channel_release", Some("channel_release(cid, *, send=None, recv=None, force=True)\n\nClose the channel for the current interpreter. 'send' and 'recv'\n(bool) may be used to indicate the ends to close. By default both\nends are closed. Closing an already closed end is a noop.")),
- ("_xxsubinterpreters.channel_send", Some("channel_send(cid, obj)\n\nAdd the object's data to the channel's queue.")),
- ("_xxsubinterpreters.create", Some("create() -> ID\n\nCreate a new interpreter and return a unique generated ID.")),
- ("_xxsubinterpreters.destroy", Some("destroy(id)\n\nDestroy the identified interpreter.\n\nAttempting to destroy the current interpreter results in a RuntimeError.\nSo does an unrecognized ID.")),
- ("_xxsubinterpreters.get_current", Some("get_current() -> ID\n\nReturn the ID of current interpreter.")),
- ("_xxsubinterpreters.get_main", Some("get_main() -> ID\n\nReturn the ID of main interpreter.")),
- ("_xxsubinterpreters.is_running", Some("is_running(id) -> bool\n\nReturn whether or not the identified interpreter is running.")),
- ("_xxsubinterpreters.is_shareable", Some("is_shareable(obj) -> bool\n\nReturn True if the object's data may be shared between interpreters and\nFalse otherwise.")),
- ("_xxsubinterpreters.list_all", Some("list_all() -> [ID]\n\nReturn a list containing the ID of every existing interpreter.")),
- ("_xxsubinterpreters.run_string", Some("run_string(id, script, shared)\n\nExecute the provided string in the identified interpreter.\n\nSee PyRun_SimpleStrings.")),
- ("_zoneinfo", Some("C implementation of the zoneinfo module")),
("array", Some("This module defines an object type which can efficiently represent\nan array of basic values: characters, integers, floating point\nnumbers. Arrays are sequence types and behave very much like lists,\nexcept that the type of objects stored in them is constrained.\n")),
("array.ArrayType", Some("array(typecode [, initializer]) -> array\n\nReturn a new array whose items are restricted by typecode, and\ninitialized from the optional initializer value, which must be a list,\nstring or iterable over elements of the appropriate type.\n\nArrays represent basic values and behave very much like lists, except\nthe type of objects stored in them is constrained. The type is specified\nat object creation time by using a type code, which is a single character.\nThe following type codes are defined:\n\n Type code C Type Minimum size in bytes\n 'b' signed integer 1\n 'B' unsigned integer 1\n 'u' Unicode character 2 (see note)\n 'h' signed integer 2\n 'H' unsigned integer 2\n 'i' signed integer 2\n 'I' unsigned integer 2\n 'l' signed integer 4\n 'L' unsigned integer 4\n 'q' signed integer 8 (see note)\n 'Q' unsigned integer 8 (see note)\n 'f' floating point 4\n 'd' floating point 8\n\nNOTE: The 'u' typecode corresponds to Python's unicode character. On\nnarrow builds this is 2-bytes on wide builds this is 4-bytes.\n\nNOTE: The 'q' and 'Q' type codes are only available if the platform\nC compiler used to build Python supports 'long long', or, on Windows,\n'__int64'.\n\nMethods:\n\nappend() -- append a new item to the end of the array\nbuffer_info() -- return information giving the current memory info\nbyteswap() -- byteswap all the items of the array\ncount() -- return number of occurrences of an object\nextend() -- extend array by appending multiple elements from an iterable\nfromfile() -- read items from a file object\nfromlist() -- append items from the list\nfrombytes() -- append items from the string\nindex() -- return index of first occurrence of an object\ninsert() -- insert a new item into the array at a provided position\npop() -- remove and return item (default last)\nremove() -- remove first occurrence of an object\nreverse() -- reverse the order of the items in the array\ntofile() -- write all items to a file object\ntolist() -- return the array converted to an ordinary list\ntobytes() -- return the array converted to a string\n\nAttributes:\n\ntypecode -- the typecode character used to create the array\nitemsize -- the length in bytes of one array item\n")),
("array.ArrayType.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
@@ -1867,35 +1391,6 @@
("array.array.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
("array.array.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
("array.array.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("audioop.add", Some("Return a fragment which is the addition of the two samples passed as parameters.")),
- ("audioop.adpcm2lin", Some("Decode an Intel/DVI ADPCM coded fragment to a linear fragment.")),
- ("audioop.alaw2lin", Some("Convert sound fragments in a-LAW encoding to linearly encoded sound fragments.")),
- ("audioop.avg", Some("Return the average over all samples in the fragment.")),
- ("audioop.avgpp", Some("Return the average peak-peak value over all samples in the fragment.")),
- ("audioop.bias", Some("Return a fragment that is the original fragment with a bias added to each sample.")),
- ("audioop.byteswap", Some("Convert big-endian samples to little-endian and vice versa.")),
- ("audioop.cross", Some("Return the number of zero crossings in the fragment passed as an argument.")),
- ("audioop.error.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("audioop.error.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("audioop.error.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("audioop.findfactor", Some("Return a factor F such that rms(add(fragment, mul(reference, -F))) is minimal.")),
- ("audioop.findfit", Some("Try to match reference as well as possible to a portion of fragment.")),
- ("audioop.findmax", Some("Search fragment for a slice of specified number of samples with maximum energy.")),
- ("audioop.getsample", Some("Return the value of sample index from the fragment.")),
- ("audioop.lin2adpcm", Some("Convert samples to 4 bit Intel/DVI ADPCM encoding.")),
- ("audioop.lin2alaw", Some("Convert samples in the audio fragment to a-LAW encoding.")),
- ("audioop.lin2lin", Some("Convert samples between 1-, 2-, 3- and 4-byte formats.")),
- ("audioop.lin2ulaw", Some("Convert samples in the audio fragment to u-LAW encoding.")),
- ("audioop.max", Some("Return the maximum of the absolute value of all samples in a fragment.")),
- ("audioop.maxpp", Some("Return the maximum peak-peak value in the sound fragment.")),
- ("audioop.minmax", Some("Return the minimum and maximum values of all samples in the sound fragment.")),
- ("audioop.mul", Some("Return a fragment that has all samples in the original fragment multiplied by the floating-point value factor.")),
- ("audioop.ratecv", Some("Convert the frame rate of the input fragment.")),
- ("audioop.reverse", Some("Reverse the samples in a fragment and returns the modified fragment.")),
- ("audioop.rms", Some("Return the root-mean-square of the fragment, i.e. sqrt(sum(S_i^2)/n).")),
- ("audioop.tomono", Some("Convert a stereo fragment to a mono fragment.")),
- ("audioop.tostereo", Some("Generate a stereo fragment from a mono fragment.")),
- ("audioop.ulaw2lin", Some("Convert sound fragments in u-LAW encoding to linearly encoded sound fragments.")),
("binascii", Some("Conversion between binary data and ASCII")),
("binascii.Error.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
("binascii.Error.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
@@ -2015,32 +1510,6 @@
("mmap.mmap.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
("mmap.mmap.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
("mmap.mmap.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("nis", Some("This module contains functions for accessing NIS maps.\n")),
- ("nis.cat", Some("cat(map, domain = defaultdomain)\nReturns the entire map as a dictionary. Optionally domain can be\nspecified but it defaults to the system default domain.\n")),
- ("nis.error.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("nis.error.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("nis.error.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("nis.get_default_domain", Some("get_default_domain() -> str\nCorresponds to the C library yp_get_default_domain() call, returning\nthe default NIS domain.\n")),
- ("nis.maps", Some("maps(domain = defaultdomain)\nReturns an array of all available NIS maps within a domain. If domain\nis not specified it defaults to the system default domain.\n")),
- ("nis.match", Some("match(key, map, domain = defaultdomain)\nCorresponds to the C library yp_match() call, returning the value of\nkey in the given map. Optionally domain can be specified but it\ndefaults to the system default domain.\n")),
- ("parser", Some("This is an interface to Python's internal parser.")),
- ("parser.ParserError.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("parser.ParserError.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("parser.ParserError.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("parser.STType", Some("Intermediate representation of a Python parse tree.")),
- ("parser.STType.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("parser.STType.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("parser.STType.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("parser._pickler", Some("Returns the pickle magic to allow ST objects to be pickled.")),
- ("parser.compilest", Some("Compiles an ST object into a code object.")),
- ("parser.expr", Some("Creates an ST object from an expression.")),
- ("parser.isexpr", Some("Determines if an ST object was created from an expression.")),
- ("parser.issuite", Some("Determines if an ST object was created from a suite.")),
- ("parser.sequence2st", Some("Creates an ST object from a tree representation.")),
- ("parser.st2list", Some("Creates a list-tree representation of an ST.")),
- ("parser.st2tuple", Some("Creates a tuple-tree representation of an ST.")),
- ("parser.suite", Some("Creates an ST object from a suite.")),
- ("parser.tuple2st", Some("Creates an ST object from a tree representation.")),
("pyexpat", Some("Python wrapper for Expat parser.")),
("pyexpat.ErrorString", Some("Returns string error for given number.")),
("pyexpat.ParserCreate", Some("Return a new XML parser object.")),
@@ -2048,37 +1517,10 @@
("pyexpat.XMLParserType.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
("pyexpat.XMLParserType.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
("pyexpat.XMLParserType.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("readline", Some("Importing this module enables command line editing using GNU readline.")),
- ("readline.add_history", Some("add_history(string) -> None\nadd an item to the history buffer")),
- ("readline.append_history_file", Some("append_history_file(nelements[, filename]) -> None\nAppend the last nelements items of the history list to file.\nThe default filename is ~/.history.")),
- ("readline.clear_history", Some("clear_history() -> None\nClear the current readline history.")),
- ("readline.get_begidx", Some("get_begidx() -> int\nget the beginning index of the completion scope")),
- ("readline.get_completer", Some("get_completer() -> function\n\nReturns current completer function.")),
- ("readline.get_completer_delims", Some("get_completer_delims() -> string\nget the word delimiters for completion")),
- ("readline.get_completion_type", Some("get_completion_type() -> int\nGet the type of completion being attempted.")),
- ("readline.get_current_history_length", Some("get_current_history_length() -> integer\nreturn the current (not the maximum) length of history.")),
- ("readline.get_endidx", Some("get_endidx() -> int\nget the ending index of the completion scope")),
- ("readline.get_history_item", Some("get_history_item() -> string\nreturn the current contents of history item at index.")),
- ("readline.get_history_length", Some("get_history_length() -> int\nreturn the maximum number of lines that will be written to\nthe history file.")),
- ("readline.get_line_buffer", Some("get_line_buffer() -> string\nreturn the current contents of the line buffer.")),
- ("readline.insert_text", Some("insert_text(string) -> None\nInsert text into the line buffer at the cursor position.")),
- ("readline.parse_and_bind", Some("parse_and_bind(string) -> None\nExecute the init line provided in the string argument.")),
- ("readline.read_history_file", Some("read_history_file([filename]) -> None\nLoad a readline history file.\nThe default filename is ~/.history.")),
- ("readline.read_init_file", Some("read_init_file([filename]) -> None\nExecute a readline initialization file.\nThe default filename is the last filename used.")),
- ("readline.redisplay", Some("redisplay() -> None\nChange what's displayed on the screen to reflect the current\ncontents of the line buffer.")),
- ("readline.remove_history_item", Some("remove_history_item(pos) -> None\nremove history item given by its position")),
- ("readline.replace_history_item", Some("replace_history_item(pos, line) -> None\nreplaces history item given by its position with contents of line")),
- ("readline.set_auto_history", Some("set_auto_history(enabled) -> None\nEnables or disables automatic history.")),
- ("readline.set_completer", Some("set_completer([function]) -> None\nSet or remove the completer function.\nThe function is called as function(text, state),\nfor state in 0, 1, 2, ..., until it returns a non-string.\nIt should return the next possible completion starting with 'text'.")),
- ("readline.set_completer_delims", Some("set_completer_delims(string) -> None\nset the word delimiters for completion")),
- ("readline.set_completion_display_matches_hook", Some("set_completion_display_matches_hook([function]) -> None\nSet or remove the completion display function.\nThe function is called as\n function(substitution, [matches], longest_match_length)\nonce each time matches need to be displayed.")),
- ("readline.set_history_length", Some("set_history_length(length) -> None\nset the maximal number of lines which will be written to\nthe history file. A negative length is used to inhibit\nhistory truncation.")),
- ("readline.set_pre_input_hook", Some("set_pre_input_hook([function]) -> None\nSet or remove the function invoked by the rl_pre_input_hook callback.\nThe function is called with no arguments after the first prompt\nhas been printed and just before readline starts reading input\ncharacters.")),
- ("readline.set_startup_hook", Some("set_startup_hook([function]) -> None\nSet or remove the function invoked by the rl_startup_hook callback.\nThe function is called with no arguments just\nbefore readline prints the first prompt.")),
- ("readline.write_history_file", Some("write_history_file([filename]) -> None\nSave a readline history file.\nThe default filename is ~/.history.")),
("resource.getpagesize", None),
("resource.getrlimit", None),
("resource.getrusage", None),
+ ("resource.prlimit", Some("prlimit(pid, resource, [limits])")),
("resource.setrlimit", None),
("resource.struct_rusage", Some("struct_rusage: Result from getrusage.\n\nThis object may be accessed either as a tuple of\n (utime,stime,maxrss,ixrss,idrss,isrss,minflt,majflt,\n nswap,inblock,oublock,msgsnd,msgrcv,nsignals,nvcsw,nivcsw)\nor via the attributes ru_utime, ru_stime, ru_maxrss, and so on.")),
("resource.struct_rusage.__class_getitem__", Some("See PEP 585")),
@@ -2086,15 +1528,11 @@
("resource.struct_rusage.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
("resource.struct_rusage.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
("select", Some("This module supports asynchronous I/O on multiple file descriptors.\n\n*** IMPORTANT NOTICE ***\nOn Windows, only sockets are supported; on Unix, all file descriptors.")),
- ("select.kevent", Some("kevent(ident, filter=KQ_FILTER_READ, flags=KQ_EV_ADD, fflags=0, data=0, udata=0)\n\nThis object is the equivalent of the struct kevent for the C API.\n\nSee the kqueue manpage for more detailed information about the meaning\nof the arguments.\n\nOne minor note: while you might hope that udata could store a\nreference to a python object, it cannot, because it is impossible to\nkeep a proper reference count of the object once it's passed into the\nkernel. Therefore, I have restricted it to only storing an integer. I\nrecommend ignoring it and simply using the 'ident' field to key off\nof. You could also set up a dictionary on the python side to store a\nudata->object mapping.")),
- ("select.kevent.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("select.kevent.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("select.kevent.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("select.kqueue", Some("Kqueue syscall wrapper.\n\nFor example, to start watching a socket for input:\n>>> kq = kqueue()\n>>> sock = socket()\n>>> sock.connect((host, port))\n>>> kq.control([kevent(sock, KQ_FILTER_WRITE, KQ_EV_ADD)], 0)\n\nTo wait one second for it to become writeable:\n>>> kq.control(None, 1, 1000)\n\nTo stop listening:\n>>> kq.control([kevent(sock, KQ_FILTER_WRITE, KQ_EV_DELETE)], 0)")),
- ("select.kqueue.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("select.kqueue.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("select.kqueue.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("select.kqueue.fromfd", Some("Create a kqueue object from a given control fd.")),
+ ("select.epoll", Some("select.epoll(sizehint=-1, flags=0)\n\nReturns an epolling object\n\nsizehint must be a positive integer or -1 for the default size. The\nsizehint is used to optimize internal data structures. It doesn't limit\nthe maximum number of monitored events.")),
+ ("select.epoll.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
+ ("select.epoll.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
+ ("select.epoll.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
+ ("select.epoll.fromfd", Some("Create an epoll object from a given control fd.")),
("select.poll", Some("Returns a polling object.\n\nThis object supports registering and unregistering file descriptors, and then\npolling them for I/O events.")),
("select.select", Some("Wait until one or more file descriptors are ready for some kind of I/O.\n\nThe first three arguments are iterables of file descriptors to be waited for:\nrlist -- wait until ready for reading\nwlist -- wait until ready for writing\nxlist -- wait for an \"exceptional condition\"\nIf only one kind of condition is required, pass [] for the other lists.\n\nA file descriptor is either a socket or file object, or a small integer\ngotten from a fileno() method call on one of those.\n\nThe optional 4th argument specifies a timeout in seconds; it may be\na floating point number to specify fractions of seconds. If it is absent\nor None, the call will never time out.\n\nThe return value is a tuple of three lists corresponding to the first three\narguments; each contains the subset of the corresponding file descriptors\nthat are ready.\n\n*** IMPORTANT NOTICE ***\nOn Windows, only sockets are supported; on Unix, all file\ndescriptors can be used.")),
("syslog.LOG_MASK", None),
@@ -2107,12 +1545,12 @@
("termios.error.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
("termios.error.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
("termios.error.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("termios.tcdrain", Some("tcdrain(fd) -> None\n\nWait until all output written to file descriptor fd has been transmitted.")),
- ("termios.tcflow", Some("tcflow(fd, action) -> None\n\nSuspend or resume input or output on file descriptor fd.\nThe action argument can be termios.TCOOFF to suspend output,\ntermios.TCOON to restart output, termios.TCIOFF to suspend input,\nor termios.TCION to restart input.")),
- ("termios.tcflush", Some("tcflush(fd, queue) -> None\n\nDiscard queued data on file descriptor fd.\nThe queue selector specifies which queue: termios.TCIFLUSH for the input\nqueue, termios.TCOFLUSH for the output queue, or termios.TCIOFLUSH for\nboth queues. ")),
- ("termios.tcgetattr", Some("tcgetattr(fd) -> list_of_attrs\n\nGet the tty attributes for file descriptor fd, as follows:\n[iflag, oflag, cflag, lflag, ispeed, ospeed, cc] where cc is a list\nof the tty special characters (each a string of length 1, except the items\nwith indices VMIN and VTIME, which are integers when these fields are\ndefined). The interpretation of the flags and the speeds as well as the\nindexing in the cc array must be done using the symbolic constants defined\nin this module.")),
- ("termios.tcsendbreak", Some("tcsendbreak(fd, duration) -> None\n\nSend a break on file descriptor fd.\nA zero duration sends a break for 0.25-0.5 seconds; a nonzero duration\nhas a system dependent meaning.")),
- ("termios.tcsetattr", Some("tcsetattr(fd, when, attributes) -> None\n\nSet the tty attributes for file descriptor fd.\nThe attributes to be set are taken from the attributes argument, which\nis a list like the one returned by tcgetattr(). The when argument\ndetermines when the attributes are changed: termios.TCSANOW to\nchange immediately, termios.TCSADRAIN to change after transmitting all\nqueued output, or termios.TCSAFLUSH to change after transmitting all\nqueued output and discarding all queued input. ")),
+ ("termios.tcdrain", Some("Wait until all output written to file descriptor fd has been transmitted.")),
+ ("termios.tcflow", Some("Suspend or resume input or output on file descriptor fd.\n\nThe action argument can be termios.TCOOFF to suspend output,\ntermios.TCOON to restart output, termios.TCIOFF to suspend input,\nor termios.TCION to restart input.")),
+ ("termios.tcflush", Some("Discard queued data on file descriptor fd.\n\nThe queue selector specifies which queue: termios.TCIFLUSH for the input\nqueue, termios.TCOFLUSH for the output queue, or termios.TCIOFLUSH for\nboth queues.")),
+ ("termios.tcgetattr", Some("Get the tty attributes for file descriptor fd.\n\nReturns a list [iflag, oflag, cflag, lflag, ispeed, ospeed, cc]\nwhere cc is a list of the tty special characters (each a string of\nlength 1, except the items with indices VMIN and VTIME, which are\nintegers when these fields are defined). The interpretation of the\nflags and the speeds as well as the indexing in the cc array must be\ndone using the symbolic constants defined in this module.")),
+ ("termios.tcsendbreak", Some("Send a break on file descriptor fd.\n\nA zero duration sends a break for 0.25-0.5 seconds; a nonzero duration\nhas a system dependent meaning.")),
+ ("termios.tcsetattr", Some("Set the tty attributes for file descriptor fd.\n\nThe attributes to be set are taken from the attributes argument, which\nis a list like the one returned by tcgetattr(). The when argument\ndetermines when the attributes are changed: termios.TCSANOW to\nchange immediately, termios.TCSADRAIN to change after transmitting all\nqueued output, or termios.TCSAFLUSH to change after transmitting all\nqueued output and discarding all queued input.")),
("unicodedata", Some("This module provides access to the Unicode Character Database which\ndefines character properties for all Unicode characters. The data in\nthis database is based on the UnicodeData.txt file version\n13.0.0 which is publicly available from ftp://ftp.unicode.org/.\n\nThe module uses the same names and symbols as defined by the\nUnicodeData File Format 13.0.0.")),
("unicodedata.UCD.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
("unicodedata.UCD.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
@@ -2130,24 +1568,6 @@
("unicodedata.name", Some("Returns the name assigned to the character chr as a string.\n\nIf no name is defined, default is returned, or, if not given,\nValueError is raised.")),
("unicodedata.normalize", Some("Return the normal form 'form' for the Unicode string unistr.\n\nValid values for form are 'NFC', 'NFKC', 'NFD', and 'NFKD'.")),
("unicodedata.numeric", Some("Converts a Unicode character into its equivalent numeric value.\n\nReturns the numeric value assigned to the character chr as float.\nIf no such value is defined, default is returned, or, if not given,\nValueError is raised.")),
- ("xxlimited", Some("This is a template module just for instruction.")),
- ("xxlimited.Null.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("xxlimited.Null.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("xxlimited.Null.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("xxlimited.Str.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("xxlimited.Str.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("xxlimited.Str.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("xxlimited.Str.maketrans", Some("Return a translation table usable for str.translate().\n\nIf there is only one argument, it must be a dictionary mapping Unicode\nordinals (integers) or characters to Unicode ordinals, strings or None.\nCharacter keys will be then converted to ordinals.\nIf there are two arguments, they must be strings of equal length, and\nin the resulting dictionary, each character in x will be mapped to the\ncharacter at the same position in y. If there is a third argument, it\nmust be a string, whose characters will be mapped to None in the result.")),
- ("xxlimited.Xxo", Some("The Xxo type")),
- ("xxlimited.Xxo.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("xxlimited.Xxo.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("xxlimited.Xxo.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("xxlimited.error.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("xxlimited.error.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("xxlimited.error.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("xxlimited.foo", Some("foo(i,j)\n\nReturn the sum of i and j.")),
- ("xxlimited.new", Some("new() -> new Xx object")),
- ("xxlimited.roj", Some("roj(a,b) -> None")),
("zlib", Some("The functions in this module allow compression and decompression using the\nzlib library, which is based on GNU zip.\n\nadler32(string[, start]) -- Compute an Adler-32 checksum.\ncompress(data[, level]) -- Compress data, with compression level 0-9 or -1.\ncompressobj([level[, ...]]) -- Return a compressor object.\ncrc32(string[, start]) -- Compute a CRC-32 checksum.\ndecompress(string,[wbits],[bufsize]) -- Decompresses a compressed string.\ndecompressobj([wbits[, zdict]]) -- Return a decompressor object.\n\n'wbits' is window buffer size and container format.\nCompressor objects support compress() and flush() methods; decompressor\nobjects support decompress() and flush().")),
("zlib.adler32", Some("Compute an Adler-32 checksum of data.\n\n value\n Starting value of the checksum.\n\nThe returned checksum is an integer.")),
("zlib.compress", Some("Returns a bytes object containing compressed data.\n\n data\n Binary data to be compressed.\n level\n Compression level, in 0-9 or -1.")),
@@ -2158,340 +1578,60 @@
("zlib.error.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
("zlib.error.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
("zlib.error.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_cffi_backend.CField.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_cffi_backend.CField.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_cffi_backend.CField.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_cffi_backend.CLibrary.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_cffi_backend.CLibrary.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_cffi_backend.CLibrary.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_cffi_backend.CType.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_cffi_backend.CType.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_cffi_backend.CType.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_cffi_backend.FFI.CData", Some("The internal base type for CData objects. Use FFI.CData to access it. Always check with isinstance(): subtypes are sometimes returned on CPython, for performance reasons.")),
- ("_cffi_backend.FFI.CData.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_cffi_backend.FFI.CData.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_cffi_backend.FFI.CData.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_cffi_backend.FFI.CType.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_cffi_backend.FFI.CType.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_cffi_backend.FFI.CType.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_cffi_backend.FFI.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_cffi_backend.FFI.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_cffi_backend.FFI.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_cffi_backend.FFI.buffer", Some("ffi.buffer(cdata[, byte_size]):\nReturn a read-write buffer object that references the raw C data\npointed to by the given 'cdata'. The 'cdata' must be a pointer or an\narray. Can be passed to functions expecting a buffer, or directly\nmanipulated with:\n\n buf[:] get a copy of it in a regular string, or\n buf[idx] as a single character\n buf[:] = ...\n buf[idx] = ... change the content")),
- ("_cffi_backend.FFI.buffer.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_cffi_backend.FFI.buffer.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_cffi_backend.FFI.buffer.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_cffi_backend.FFI.error.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_cffi_backend.FFI.error.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_cffi_backend.FFI.error.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_cffi_backend.Lib.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_cffi_backend.Lib.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_cffi_backend.Lib.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_cffi_backend._CDataBase", Some("The internal base type for CData objects. Use FFI.CData to access it. Always check with isinstance(): subtypes are sometimes returned on CPython, for performance reasons.")),
- ("_cffi_backend._CDataBase.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_cffi_backend._CDataBase.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_cffi_backend._CDataBase.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_cffi_backend.__CDataFromBuf", Some("This is an internal subtype of _CDataBase for performance only on CPython. Check with isinstance(x, ffi.CData).")),
- ("_cffi_backend.__CDataFromBuf.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_cffi_backend.__CDataFromBuf.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_cffi_backend.__CDataFromBuf.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_cffi_backend.__CDataGCP", Some("This is an internal subtype of _CDataBase for performance only on CPython. Check with isinstance(x, ffi.CData).")),
- ("_cffi_backend.__CDataGCP.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_cffi_backend.__CDataGCP.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_cffi_backend.__CDataGCP.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_cffi_backend.__CDataOwn", Some("This is an internal subtype of _CDataBase for performance only on CPython. Check with isinstance(x, ffi.CData).")),
- ("_cffi_backend.__CDataOwn.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_cffi_backend.__CDataOwn.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_cffi_backend.__CDataOwn.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_cffi_backend.__CDataOwnGC", Some("This is an internal subtype of _CDataBase for performance only on CPython. Check with isinstance(x, ffi.CData).")),
- ("_cffi_backend.__CDataOwnGC.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_cffi_backend.__CDataOwnGC.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_cffi_backend.__CDataOwnGC.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_cffi_backend.__CData_iterator.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_cffi_backend.__CData_iterator.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_cffi_backend.__CData_iterator.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_cffi_backend.__FFIGlobSupport.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_cffi_backend.__FFIGlobSupport.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_cffi_backend.__FFIGlobSupport.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_cffi_backend._get_common_types", None),
- ("_cffi_backend._get_types", None),
- ("_cffi_backend._init_cffi_1_0_external_module", None),
- ("_cffi_backend._testbuff", None),
- ("_cffi_backend._testfunc", None),
- ("_cffi_backend.alignof", None),
- ("_cffi_backend.buffer", Some("ffi.buffer(cdata[, byte_size]):\nReturn a read-write buffer object that references the raw C data\npointed to by the given 'cdata'. The 'cdata' must be a pointer or an\narray. Can be passed to functions expecting a buffer, or directly\nmanipulated with:\n\n buf[:] get a copy of it in a regular string, or\n buf[idx] as a single character\n buf[:] = ...\n buf[idx] = ... change the content")),
- ("_cffi_backend.buffer.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_cffi_backend.buffer.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_cffi_backend.buffer.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_cffi_backend.callback", None),
- ("_cffi_backend.cast", None),
- ("_cffi_backend.complete_struct_or_union", None),
- ("_cffi_backend.from_buffer", None),
- ("_cffi_backend.from_handle", None),
- ("_cffi_backend.gcp", None),
- ("_cffi_backend.get_errno", None),
- ("_cffi_backend.getcname", None),
- ("_cffi_backend.load_library", None),
- ("_cffi_backend.memmove", None),
- ("_cffi_backend.new_array_type", None),
- ("_cffi_backend.new_enum_type", None),
- ("_cffi_backend.new_function_type", None),
- ("_cffi_backend.new_pointer_type", None),
- ("_cffi_backend.new_primitive_type", None),
- ("_cffi_backend.new_struct_type", None),
- ("_cffi_backend.new_union_type", None),
- ("_cffi_backend.new_void_type", None),
- ("_cffi_backend.newp", None),
- ("_cffi_backend.newp_handle", None),
- ("_cffi_backend.rawaddressof", None),
- ("_cffi_backend.release", None),
- ("_cffi_backend.set_errno", None),
- ("_cffi_backend.sizeof", None),
- ("_cffi_backend.string", None),
- ("_cffi_backend.typeof", None),
- ("_cffi_backend.typeoffsetof", None),
- ("_cffi_backend.unpack", None),
- ("_watchdog_fsevents", Some("Low-level FSEvents Python/C API bridge.")),
- ("_watchdog_fsevents.NativeEvent", Some("A wrapper around native FSEvents events")),
- ("_watchdog_fsevents.NativeEvent.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("_watchdog_fsevents.NativeEvent.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("_watchdog_fsevents.NativeEvent.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("_watchdog_fsevents.add_watch", Some("_watchdog_fsevents.add_watch(emitter_thread, watch, callback, paths) -> None\nAdds a watch into the event loop for the given emitter thread.\n\n:param emitter_thread:\n The emitter thread.\n:param watch:\n The watch to add.\n:param callback:\n The callback function to call when an event occurs.\n\n Example::\n\n def callback(paths, flags, ids):\n for path, flag, event_id in zip(paths, flags, ids):\n print(\"%d: %s=%ul\" % (event_id, path, flag))\n:param paths:\n A list of paths to monitor.\n")),
- ("_watchdog_fsevents.flush_events", Some("_watchdog_fsevents.flush_events(watch) -> None\nFlushes events for the watch.\n\n:param watch:\n The watch to flush.\n")),
- ("_watchdog_fsevents.loop", Some("Alias for read_events.")),
- ("_watchdog_fsevents.read_events", Some("_watchdog_fsevents.read_events(emitter_thread) -> None\nBlocking function that runs an event loop associated with an emitter thread.\n\n:param emitter_thread:\n The emitter thread for which the event loop will be run.\n")),
- ("_watchdog_fsevents.remove_watch", Some("_watchdog_fsevents.remove_watch(watch) -> None\nRemoves a watch from the event loop.\n\n:param watch:\n The watch to remove.\n")),
- ("_watchdog_fsevents.schedule", Some("Alias for add_watch.")),
- ("_watchdog_fsevents.stop", Some("_watchdog_fsevents.stop(emitter_thread) -> None\nStops running the event loop from the specified thread.\n\n:param emitter_thread:\n The thread for which the event loop will be stopped.\n")),
- ("_watchdog_fsevents.unschedule", Some("Alias for remove_watch.")),
- ("kiwisolver", Some("kiwisolver extension module")),
- ("kiwisolver.BadRequiredStrength.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("kiwisolver.BadRequiredStrength.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("kiwisolver.BadRequiredStrength.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("kiwisolver.Constraint.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("kiwisolver.Constraint.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("kiwisolver.Constraint.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("kiwisolver.DuplicateConstraint.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("kiwisolver.DuplicateConstraint.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("kiwisolver.DuplicateConstraint.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("kiwisolver.DuplicateEditVariable.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("kiwisolver.DuplicateEditVariable.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("kiwisolver.DuplicateEditVariable.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("kiwisolver.Expression.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("kiwisolver.Expression.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("kiwisolver.Expression.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("kiwisolver.Solver.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("kiwisolver.Solver.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("kiwisolver.Solver.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("kiwisolver.Term.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("kiwisolver.Term.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("kiwisolver.Term.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("kiwisolver.UnknownConstraint.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("kiwisolver.UnknownConstraint.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("kiwisolver.UnknownConstraint.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("kiwisolver.UnknownEditVariable.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("kiwisolver.UnknownEditVariable.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("kiwisolver.UnknownEditVariable.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("kiwisolver.UnsatisfiableConstraint.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("kiwisolver.UnsatisfiableConstraint.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("kiwisolver.UnsatisfiableConstraint.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("kiwisolver.Variable.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("kiwisolver.Variable.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("kiwisolver.Variable.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("lief", Some("Python API for LIEF")),
- ("lief.art_version", Some("art_version(*args, **kwargs)\nOverloaded function.\n\n1. art_version(filename: str) -> int\n\nReturn the ART version of the given file\n\n2. art_version(raw: List[int]) -> int\n\nReturn the ART version of the raw data\n")),
- ("lief.bad_file.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("lief.bad_file.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("lief.bad_file.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("lief.bad_format.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("lief.bad_format.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("lief.bad_format.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("lief.breakp", Some("breakp() -> object\n\nTrigger 'pdb.set_trace()'\n")),
- ("lief.builder_error.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("lief.builder_error.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("lief.builder_error.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("lief.conversion_error.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("lief.conversion_error.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("lief.conversion_error.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("lief.corrupted.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("lief.corrupted.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("lief.corrupted.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("lief.demangle", Some("demangle(arg0: str) -> object\n")),
- ("lief.dex_version", Some("dex_version(*args, **kwargs)\nOverloaded function.\n\n1. dex_version(filename: str) -> int\n\nReturn the OAT version of the given file\n\n2. dex_version(raw: List[int]) -> int\n\nReturn the DEX version of the raw data\n")),
- ("lief.exception.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("lief.exception.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("lief.exception.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("lief.hash", Some("hash(*args, **kwargs)\nOverloaded function.\n\n1. hash(arg0: lief.Object) -> int\n\n2. hash(arg0: List[int]) -> int\n")),
- ("lief.integrity_error.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("lief.integrity_error.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("lief.integrity_error.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("lief.is_art", Some("is_art(*args, **kwargs)\nOverloaded function.\n\n1. is_art(filename: str) -> bool\n\nCheck if the given file is an ``ART`` (from filename)\n\n2. is_art(raw: List[int]) -> bool\n\nCheck if the given raw data is an ``ART``\n")),
- ("lief.is_dex", Some("is_dex(*args, **kwargs)\nOverloaded function.\n\n1. is_dex(filename: str) -> bool\n\nCheck if the given file is a ``DEX`` (from filename)\n\n2. is_dex(raw: List[int]) -> bool\n\nCheck if the given raw data is a ``DEX``\n")),
- ("lief.is_elf", Some("is_elf(*args, **kwargs)\nOverloaded function.\n\n1. is_elf(filename: str) -> bool\n\nCheck if the given file is an ``ELF``\n\n2. is_elf(raw: List[int]) -> bool\n\nCheck if the given raw data is an ``ELF``\n")),
- ("lief.is_macho", Some("is_macho(*args, **kwargs)\nOverloaded function.\n\n1. is_macho(filename: str) -> bool\n\nCheck if the given file is a ``MachO`` (from filename)\n\n2. is_macho(raw: List[int]) -> bool\n\nCheck if the given raw data is a ``MachO``\n")),
- ("lief.is_oat", Some("is_oat(*args, **kwargs)\nOverloaded function.\n\n1. is_oat(filename: str) -> bool\n\nCheck if the given file is an ``OAT`` (from filename)\n\n2. is_oat(raw: List[int]) -> bool\n\nCheck if the given raw data is an ``OAT``\n\n3. is_oat(elf: lief.ELF.Binary) -> bool\n\nCheck if the given :class:`~lief.ELF.Binary` is an ``OAT``\n")),
- ("lief.is_pe", Some("is_pe(*args, **kwargs)\nOverloaded function.\n\n1. is_pe(filename: str) -> bool\n\nCheck if the given file is a ``PE`` (from filename)\n\n2. is_pe(raw: List[int]) -> bool\n\nCheck if the given raw data is a ``PE``\n")),
- ("lief.is_vdex", Some("is_vdex(*args, **kwargs)\nOverloaded function.\n\n1. is_vdex(filename: str) -> bool\n\nCheck if the given file is a ``VDEX`` (from filename)\n\n2. is_vdex(raw: List[int]) -> bool\n\nCheck if the given raw data is a ``VDEX``\n")),
- ("lief.not_found.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("lief.not_found.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("lief.not_found.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("lief.not_implemented.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("lief.not_implemented.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("lief.not_implemented.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("lief.not_supported.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("lief.not_supported.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("lief.not_supported.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("lief.oat_version", Some("oat_version(*args, **kwargs)\nOverloaded function.\n\n1. oat_version(filename: str) -> int\n\nReturn the OAT version of the given file\n\n2. oat_version(raw: List[int]) -> int\n\nReturn the OAT version of the raw data\n\n3. oat_version(elf: lief.ELF.Binary) -> int\n\nReturn the OAT version of the given :class:`~lief.ELF.Binary`\n")),
- ("lief.parse", Some("parse(*args, **kwargs)\nOverloaded function.\n\n1. parse(raw: bytes, name: str = '') -> lief.Binary\n\nParse the given binary and return a :class:`~lief.Binary` object\n\n2. parse(filepath: str) -> lief.Binary\n\nParse the given binary and return a :class:`~lief.Binary` object\n\n3. parse(raw: List[int], name: str = '') -> lief.Binary\n\nParse the given binary and return a :class:`~lief.Binary` object\n\n4. parse(io: object, name: str = '') -> lief.Binary\n")),
- ("lief.parser_error.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("lief.parser_error.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("lief.parser_error.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("lief.pe_bad_section_name.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("lief.pe_bad_section_name.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("lief.pe_bad_section_name.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("lief.pe_error.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("lief.pe_error.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("lief.pe_error.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("lief.read_out_of_bound.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("lief.read_out_of_bound.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("lief.read_out_of_bound.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("lief.shell", Some("shell() -> object\n\nDrop into an IPython Interpreter\n")),
- ("lief.to_json", Some("to_json(arg0: lief.Object) -> str\n")),
- ("lief.to_json_from_abstract", Some("to_json_from_abstract(arg0: lief.Object) -> str\n")),
- ("lief.type_error.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("lief.type_error.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("lief.type_error.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("lief.vdex_version", Some("vdex_version(*args, **kwargs)\nOverloaded function.\n\n1. vdex_version(filename: str) -> int\n\nReturn the VDEX version of the given file\n\n2. vdex_version(raw: List[int]) -> int\n\nReturn the VDEX version of the raw data\n")),
- ("pvectorc", Some("Persistent vector")),
- ("pvectorc.PVector", Some("Persistent vector")),
- ("pvectorc.PVector.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("pvectorc.PVector.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("pvectorc.PVector.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("pvectorc.pvector", Some("pvector([iterable])\nCreate a new persistent vector containing the elements in iterable.\n\n>>> v1 = pvector([1, 2, 3])\n>>> v1\npvector([1, 2, 3])")),
- ("py", Some("\npylib: rapid testing and development utils\n\nthis module uses apipkg.py for lazy-loading sub modules\nand classes. The initpkg-dictionary below specifies\nname->value mappings where value can be another namespace\ndictionary or an import path.\n\n(c) Holger Krekel and others, 2004-2014\n")),
- ("pycosat", Some("pycosat: bindings to PicoSAT\n============================\n\nThere are two functions in this module, solve and itersolve.\nPlease see https://pypi.python.org/pypi/pycosat for more details.")),
- ("pycosat.itersolve", Some("itersolve(clauses [, kwargs]) -> iterator\n\nSolve the SAT problem for the clauses, and return an iterator over\nthe solutions (which are lists of integers).\nPlease see https://pypi.python.org/pypi/pycosat for more details.")),
- ("pycosat.solve", Some("solve(clauses [, kwargs]) -> list\n\nSolve the SAT problem for the clauses, and return a solution as a\nlist of integers, or one of the strings \"UNSAT\", \"UNKNOWN\".\nPlease see https://pypi.python.org/pypi/pycosat for more details.")),
- ("pycurl", Some("This module implements an interface to the cURL library.\n\nTypes:\n\nCurl() -> New object. Create a new curl object.\nCurlMulti() -> New object. Create a new curl multi object.\nCurlShare() -> New object. Create a new curl share object.\n\nFunctions:\n\nglobal_init(option) -> None. Initialize curl environment.\nglobal_cleanup() -> None. Cleanup curl environment.\nversion_info() -> tuple. Return version information.")),
- ("pycurl.Curl", Some("Curl() -> New Curl object\n\nCreates a new :ref:`curlobject` which corresponds to a\n``CURL`` handle in libcurl. Curl objects automatically set\nCURLOPT_VERBOSE to 0, CURLOPT_NOPROGRESS to 1, provide a default\nCURLOPT_USERAGENT and setup CURLOPT_ERRORBUFFER to point to a\nprivate error buffer.\n\nImplicitly calls :py:func:`pycurl.global_init` if the latter has not yet been called.")),
- ("pycurl.Curl.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("pycurl.Curl.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("pycurl.Curl.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("pycurl.CurlMulti", Some("CurlMulti() -> New CurlMulti object\n\nCreates a new :ref:`curlmultiobject` which corresponds to\na ``CURLM`` handle in libcurl.")),
- ("pycurl.CurlMulti.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("pycurl.CurlMulti.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("pycurl.CurlMulti.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("pycurl.CurlShare", Some("CurlShare() -> New CurlShare object\n\nCreates a new :ref:`curlshareobject` which corresponds to a\n``CURLSH`` handle in libcurl. CurlShare objects is what you pass as an\nargument to the SHARE option on :ref:`Curl objects `.")),
- ("pycurl.CurlShare.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("pycurl.CurlShare.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("pycurl.CurlShare.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("pycurl.error.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("pycurl.error.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("pycurl.error.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("pycurl.global_cleanup", Some("global_cleanup() -> None\n\nCleanup curl environment.\n\nCorresponds to `curl_global_cleanup`_ in libcurl.\n\n.. _curl_global_cleanup: https://curl.haxx.se/libcurl/c/curl_global_cleanup.html")),
- ("pycurl.global_init", Some("global_init(option) -> None\n\nInitialize curl environment.\n\n*option* is one of the constants pycurl.GLOBAL_SSL, pycurl.GLOBAL_WIN32,\npycurl.GLOBAL_ALL, pycurl.GLOBAL_NOTHING, pycurl.GLOBAL_DEFAULT.\n\nCorresponds to `curl_global_init`_ in libcurl.\n\n.. _curl_global_init: https://curl.haxx.se/libcurl/c/curl_global_init.html")),
- ("pycurl.version_info", Some("version_info() -> tuple\n\nReturns a 12-tuple with the version info.\n\nCorresponds to `curl_version_info`_ in libcurl. Returns a tuple of\ninformation which is similar to the ``curl_version_info_data`` struct\nreturned by ``curl_version_info()`` in libcurl.\n\nExample usage::\n\n >>> import pycurl\n >>> pycurl.version_info()\n (3, '7.33.0', 467200, 'amd64-portbld-freebsd9.1', 33436, 'OpenSSL/0.9.8x',\n 0, '1.2.7', ('dict', 'file', 'ftp', 'ftps', 'gopher', 'http', 'https',\n 'imap', 'imaps', 'pop3', 'pop3s', 'rtsp', 'smtp', 'smtps', 'telnet',\n 'tftp'), None, 0, None)\n\n.. _curl_version_info: https://curl.haxx.se/libcurl/c/curl_version_info.html")),
- ("pyodbc", Some("A database module for accessing databases via ODBC.\n\nThis module conforms to the DB API 2.0 specification while providing\nnon-standard convenience features. Only standard Python data types are used\nso additional DLLs are not required.\n\nStatic Variables:\n\nversion\n The module version string. Official builds will have a version in the format\n `major.minor.revision`, such as 2.1.7. Beta versions will have -beta appended,\n such as 2.1.8-beta03. (This would be a build before the official 2.1.8 release.)\n Some special test builds will have a test name (the git branch name) prepended,\n such as fixissue90-2.1.8-beta03.\n\napilevel\n The string constant '2.0' indicating this module supports DB API level 2.0.\n\nlowercase\n A Boolean that controls whether column names in result rows are lowercased.\n This can be changed any time and affects queries executed after the change.\n The default is False. This can be useful when database columns have\n inconsistent capitalization.\n\npooling\n A Boolean indicating whether connection pooling is enabled. This is a\n global (HENV) setting, so it can only be modified before the first\n connection is made. The default is True, which enables ODBC connection\n pooling.\n\nthreadsafety\n The integer 1, indicating that threads may share the module but not\n connections. Note that connections and cursors may be used by different\n threads, just not at the same time.\n\nparamstyle\n The string constant 'qmark' to indicate parameters are identified using\n question marks.")),
- ("pyodbc.Connection", Some("Connection objects manage connections to the database.\n\nEach manages a single ODBC HDBC.")),
- ("pyodbc.Connection.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("pyodbc.Connection.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("pyodbc.Connection.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("pyodbc.Cursor", Some("Cursor objects represent a database cursor, which is used to manage the context\nof a fetch operation. Cursors created from the same connection are not\nisolated, i.e., any changes done to the database by a cursor are immediately\nvisible by the other cursors. Cursors created from different connections are\nisolated.\n\nCursors implement the iterator protocol, so results can be iterated:\n\n cursor.execute(sql)\n for row in cursor:\n print row[0]")),
- ("pyodbc.Cursor.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("pyodbc.Cursor.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("pyodbc.Cursor.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("pyodbc.DataError", Some("Exception raised for errors that are due to problems with the processed data\nlike division by zero, numeric value out of range, etc.")),
- ("pyodbc.DataError.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("pyodbc.DataError.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("pyodbc.DataError.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("pyodbc.DatabaseError", Some("Exception raised for errors that are related to the database.")),
- ("pyodbc.DatabaseError.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("pyodbc.DatabaseError.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("pyodbc.DatabaseError.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("pyodbc.DateFromTicks", Some("DateFromTicks(ticks) --> datetime.date\n\nReturns a date object initialized from the given ticks value (number of seconds\nsince the epoch; see the documentation of the standard Python time module for\ndetails).")),
- ("pyodbc.Error", Some("Exception that is the base class of all other error exceptions. You can use\nthis to catch all errors with one single 'except' statement.")),
- ("pyodbc.Error.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("pyodbc.Error.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("pyodbc.Error.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("pyodbc.IntegrityError", Some("Exception raised when the relational integrity of the database is affected,\ne.g. a foreign key check fails.")),
- ("pyodbc.IntegrityError.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("pyodbc.IntegrityError.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("pyodbc.IntegrityError.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("pyodbc.InterfaceError", Some("Exception raised for errors that are related to the database interface rather\nthan the database itself.")),
- ("pyodbc.InterfaceError.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("pyodbc.InterfaceError.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("pyodbc.InterfaceError.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("pyodbc.InternalError", Some("Exception raised when the database encounters an internal error, e.g. the\ncursor is not valid anymore, the transaction is out of sync, etc.")),
- ("pyodbc.InternalError.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("pyodbc.InternalError.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("pyodbc.InternalError.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("pyodbc.NotSupportedError", Some("Exception raised in case a method or database API was used which is not\nsupported by the database, e.g. requesting a .rollback() on a connection that\ndoes not support transaction or has transactions turned off.")),
- ("pyodbc.NotSupportedError.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("pyodbc.NotSupportedError.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("pyodbc.NotSupportedError.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("pyodbc.OperationalError", Some("Exception raised for errors that are related to the database's operation and\nnot necessarily under the control of the programmer, e.g. an unexpected\ndisconnect occurs, the data source name is not found, a transaction could not\nbe processed, a memory allocation error occurred during processing, etc.")),
- ("pyodbc.OperationalError.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("pyodbc.OperationalError.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("pyodbc.OperationalError.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("pyodbc.ProgrammingError", Some("Exception raised for programming errors, e.g. table not found or already\nexists, syntax error in the SQL statement, wrong number of parameters\nspecified, etc.")),
- ("pyodbc.ProgrammingError.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("pyodbc.ProgrammingError.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("pyodbc.ProgrammingError.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("pyodbc.Row", Some("Row objects are sequence objects that hold query results.\n\nThey are similar to tuples in that they cannot be resized and new attributes\ncannot be added, but individual elements can be replaced. This allows data to\nbe \"fixed up\" after being fetched. (For example, datetimes may be replaced by\nthose with time zones attached.)\n\n row[0] = row[0].replace(tzinfo=timezone)\n print row[0]\n\nAdditionally, individual values can be optionally be accessed or replaced by\nname. Non-alphanumeric characters are replaced with an underscore.\n\n cursor.execute(\"select customer_id, [Name With Spaces] from tmp\")\n row = cursor.fetchone()\n print row.customer_id, row.Name_With_Spaces\n\nIf using this non-standard feature, it is often convenient to specify the name\nusing the SQL 'as' keyword:\n\n cursor.execute(\"select count(*) as total from tmp\")\n row = cursor.fetchone()\n print row.total")),
- ("pyodbc.Row.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("pyodbc.Row.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("pyodbc.Row.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("pyodbc.TimeFromTicks", Some("TimeFromTicks(ticks) --> datetime.time\n\nReturns a time object initialized from the given ticks value (number of seconds\nsince the epoch; see the documentation of the standard Python time module for\ndetails).")),
- ("pyodbc.TimestampFromTicks", Some("TimestampFromTicks(ticks) --> datetime.datetime\n\nReturns a datetime object initialized from the given ticks value (number of\nseconds since the epoch; see the documentation of the standard Python time\nmodule for details")),
- ("pyodbc.Warning", Some("Exception raised for important warnings like data truncations while inserting,\n etc.")),
- ("pyodbc.Warning.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("pyodbc.Warning.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("pyodbc.Warning.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("pyodbc.connect", Some("connect(str, autocommit=False, ansi=False, timeout=0, **kwargs) --> Connection\n\nAccepts an ODBC connection string and returns a new Connection object.\n\nThe connection string will be passed to SQLDriverConnect, so a DSN connection\ncan be created using:\n\n cnxn = pyodbc.connect('DSN=DataSourceName;UID=user;PWD=password')\n\nTo connect without requiring a DSN, specify the driver and connection\ninformation:\n\n DRIVER={SQL Server};SERVER=localhost;DATABASE=testdb;UID=user;PWD=password\n\nNote the use of braces when a value contains spaces. Refer to SQLDriverConnect\ndocumentation or the documentation of your ODBC driver for details.\n\nThe connection string can be passed as the string `str`, as a list of keywords,\nor a combination of the two. Any keywords except autocommit, ansi, and timeout\n(see below) are simply added to the connection string.\n\n connect('server=localhost;user=me')\n connect(server='localhost', user='me')\n connect('server=localhost', user='me')\n\nThe DB API recommends the keywords 'user', 'password', and 'host', but these\nare not valid ODBC keywords, so these will be converted to 'uid', 'pwd', and\n'server'.\n\nSpecial Keywords\n\nThe following specal keywords are processed by pyodbc and are not added to the\nconnection string. (If you must use these in your connection string, pass them\nas a string, not as keywords.)\n\n autocommit\n If False or zero, the default, transactions are created automatically as\n defined in the DB API 2. If True or non-zero, the connection is put into\n ODBC autocommit mode and statements are committed automatically.\n \n ansi\n By default, pyodbc first attempts to connect using the Unicode version of\n SQLDriverConnectW. If the driver returns IM001 indicating it does not\n support the Unicode version, the ANSI version is tried. Any other SQLSTATE\n is turned into an exception. Setting ansi to true skips the Unicode\n attempt and only connects using the ANSI version. This is useful for\n drivers that return the wrong SQLSTATE (or if pyodbc is out of date and\n should support other SQLSTATEs).\n \n timeout\n An integer login timeout in seconds, used to set the SQL_ATTR_LOGIN_TIMEOUT\n attribute of the connection. The default is 0 which means the database's\n default timeout, if any, is used.\n")),
- ("pyodbc.dataSources", Some("dataSources() --> { DSN : Description }\n\nReturns a dictionary mapping available DSNs to their descriptions.")),
- ("pyodbc.drivers", Some("drivers() --> [ DriverName1, DriverName2 ... DriverNameN ]\n\nReturns a list of installed drivers.")),
- ("pyodbc.getDecimalSeparator", Some("getDecimalSeparator() -> string\n\nGets the decimal separator character used when parsing NUMERIC from the database.")),
- ("pyodbc.setDecimalSeparator", Some("setDecimalSeparator(string) -> None\n\nSets the decimal separator character used when parsing NUMERIC from the database.")),
- ("sip._unpickle_enum", None),
- ("sip._unpickle_type", None),
- ("sip.assign", None),
- ("sip.cast", None),
- ("sip.delete", None),
- ("sip.dump", None),
- ("sip.enableautoconversion", None),
- ("sip.enableoverflowchecking", None),
- ("sip.getapi", None),
- ("sip.isdeleted", None),
- ("sip.ispycreated", None),
- ("sip.ispyowned", None),
- ("sip.setapi", None),
- ("sip.setdeleted", None),
- ("sip.setdestroyonexit", None),
- ("sip.settracemask", None),
- ("sip.transferback", None),
- ("sip.transferto", None),
- ("sip.unwrapinstance", None),
- ("sip.voidptr.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("sip.voidptr.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("sip.voidptr.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("sip.wrapinstance", None),
- ("sip.wrappertype.__base__", Some("type(object) -> the object's type\ntype(name, bases, dict, **kwds) -> a new type")),
- ("sip.wrappertype.__base__.__base__", Some("The base class of the class hierarchy.\n\nWhen called, it accepts no arguments and returns a new featureless\ninstance that has no instance attributes and cannot be given any.\n")),
- ("sip.wrappertype.__base__.__base__.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("sip.wrappertype.__base__.__base__.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("sip.wrappertype.__base__.__base__.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("sip.wrappertype.__base__.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("sip.wrappertype.__base__.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("sip.wrappertype.__base__.__prepare__", Some("__prepare__() -> dict\nused to create the namespace for the class statement")),
- ("sip.wrappertype.__base__.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("sip.wrappertype.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
- ("sip.wrappertype.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
- ("sip.wrappertype.__prepare__", Some("__prepare__() -> dict\nused to create the namespace for the class statement")),
- ("sip.wrappertype.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
- ("ujson.decode", Some("Converts JSON as string to dict object structure.")),
- ("ujson.dump", Some("Converts arbitrary object recursively into JSON file. Use ensure_ascii=false to output UTF-8. Set encode_html_chars=True to encode < > & as unicode escape sequences. Set escape_forward_slashes=False to prevent escaping / characters.Set allow_nan=False to raise an exception when NaN or Inf would be serialized.Set reject_bytes=True to raise TypeError on bytes.")),
- ("ujson.dumps", Some("Converts arbitrary object recursively into JSON. Use ensure_ascii=false to output UTF-8. Set encode_html_chars=True to encode < > & as unicode escape sequences. Set escape_forward_slashes=False to prevent escaping / characters.Set allow_nan=False to raise an exception when NaN or Inf would be serialized.Set reject_bytes=True to raise TypeError on bytes.")),
- ("ujson.encode", Some("Converts arbitrary object recursively into JSON. Use ensure_ascii=false to output UTF-8. Set encode_html_chars=True to encode < > & as unicode escape sequences. Set escape_forward_slashes=False to prevent escaping / characters.Set allow_nan=False to raise an exception when NaN or Inf would be serialized.Set reject_bytes=True to raise TypeError on bytes.")),
- ("ujson.load", Some("Converts JSON as file to dict object structure.")),
- ("ujson.loads", Some("Converts JSON as string to dict object structure.")),
+ ("builtins.bytearray_iterator", None),
+ ("builtins.bytearray_iterator.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
+ ("builtins.bytearray_iterator.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
+ ("builtins.bytearray_iterator.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
+ ("builtins.bytes_iterator", None),
+ ("builtins.bytes_iterator.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
+ ("builtins.bytes_iterator.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
+ ("builtins.bytes_iterator.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
+ ("builtins.dict_keyiterator", None),
+ ("builtins.dict_keyiterator.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
+ ("builtins.dict_keyiterator.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
+ ("builtins.dict_keyiterator.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
+ ("builtins.dict_valueiterator", None),
+ ("builtins.dict_valueiterator.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
+ ("builtins.dict_valueiterator.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
+ ("builtins.dict_valueiterator.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
+ ("builtins.dict_itemiterator", None),
+ ("builtins.dict_itemiterator.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
+ ("builtins.dict_itemiterator.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
+ ("builtins.dict_itemiterator.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
+ ("builtins.dict_values", None),
+ ("builtins.dict_values.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
+ ("builtins.dict_values.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
+ ("builtins.dict_values.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
+ ("builtins.dict_items", None),
+ ("builtins.dict_items.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
+ ("builtins.dict_items.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
+ ("builtins.dict_items.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
+ ("builtins.set_iterator", None),
+ ("builtins.set_iterator.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
+ ("builtins.set_iterator.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
+ ("builtins.set_iterator.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
+ ("builtins.list_iterator", None),
+ ("builtins.list_iterator.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
+ ("builtins.list_iterator.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
+ ("builtins.list_iterator.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
+ ("builtins.range_iterator", None),
+ ("builtins.range_iterator.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
+ ("builtins.range_iterator.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
+ ("builtins.range_iterator.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
+ ("builtins.str_iterator", None),
+ ("builtins.str_iterator.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
+ ("builtins.str_iterator.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
+ ("builtins.str_iterator.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
+ ("builtins.tuple_iterator", None),
+ ("builtins.tuple_iterator.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
+ ("builtins.tuple_iterator.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
+ ("builtins.tuple_iterator.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
+ ("builtins.NoneType", None),
+ ("builtins.NoneType.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
+ ("builtins.NoneType.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
+ ("builtins.NoneType.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
+ ("builtins.function", Some("Create a function object.\n\n code\n a code object\n globals\n the globals dictionary\n name\n a string that overrides the name from the code object\n argdefs\n a tuple that specifies the default argument values\n closure\n a tuple that supplies the bindings for free variables")),
+ ("builtins.function.__init_subclass__", Some("This method is called when a class is subclassed.\n\nThe default implementation does nothing. It may be\noverridden to extend subclasses.\n")),
+ ("builtins.function.__new__", Some("Create and return a new object. See help(type) for accurate signature.")),
+ ("builtins.function.__subclasshook__", Some("Abstract classes can override this to customize issubclass().\n\nThis is invoked early on by abc.ABCMeta.__subclasscheck__().\nIt should return True, False or NotImplemented. If it returns\nNotImplemented, the normal algorithm is used. Otherwise, it\noverrides the normal algorithm (and the outcome is cached).\n")),
]
From 21e9e5726ed312917735586bea9b1da775921e51 Mon Sep 17 00:00:00 2001
From: gilteun
Date: Mon, 17 Oct 2022 04:10:36 +0900
Subject: [PATCH 4/8] add README.md
---
README.md | 42 ++++++++++++++++++++++++++++++++++++++++++
logo.png | Bin 0 -> 18783 bytes
2 files changed, 42 insertions(+)
create mode 100644 README.md
create mode 100644 logo.png
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..90a170e
--- /dev/null
+++ b/README.md
@@ -0,0 +1,42 @@
+
+
+# rustpython-doc
+
+This `rustpython-doc` package contains all `__doc__` database in forms of `docs.inc.rs`.
+
+## How to update `__doc__` in RustPython
+
+Adding a remake in front of `[pyclass]` of `[pyfunction]` will simply make the documentation to themselves, however, we do not manually add docs anymore.
+
+> But we don't manually add docs anymore. We have an auto-generated document db.
+>
+> The db is generated by scripts/generate_docs.py and applied to each object and functions by rustpython-doc::Database (search for crate::doc::Database::shared() in source code)
+>
+> *- Originally posted by @youknowone in [RustPython#4205 (comment)](https://github.com/RustPython/RustPython/pull/4205)*
+
+Therefore you must update `docs.in.rs`, if it is unnecessary to different from cpython's `__doc__`
+
+## How to update `docs.in.rs`
+
+To update `__doc__` for newer python version:
+
+```
+$ python generate_docs.py {RustPython PATH} ./docs.inc.rs
+```
+This will iterate all stdlib modules to inspect their `__doc__`, updating your local `docs.in.rs` file. Since RustPython is only able to access the database in this online package, the changes must be merged into this branch.
+
+After that, update cargo:
+```
+$ cargo update
+```
+## Why the `__doc__` is not changed?
+
+### Check if it is related to the unclosed issue
+There is still some issue with `generate_docs.py`
+- https://github.com/RustPython/RustPython/issues/3973
+
+
+
+### Check if the old remark documentation are not removed yet
+
+RustPython prioritizes the user define documentation first. Check if old remarks remaining in the source code, and remove them.
\ No newline at end of file
diff --git a/logo.png b/logo.png
new file mode 100644
index 0000000000000000000000000000000000000000..7d85f5d81a2e9d8d4b50f34ed064b1f10fe5551d
GIT binary patch
literal 18783
zcma&Oc|6oz^f>;W8OFXu_Ps16TlOuKCu=DCmL=J@ku}@Ql(bqRB#Is)Qj~4VGSdi^
zkPul1ktK}CI_CYop3mp=$M3)2>s2qh?|aWZ=iGD8J!`kmTbpvQ3bR5G#9?msk1Yft
z!LLY&84Z4H#0~6%ALvV#rvE@HP$2Yhs%BmijIdzLTp}Sz>FB{s~H=M;b-Nyz-4
z)An&AzsIj8jypVt*M_V{>Kd&ASrxy&VJv*}fO+uq5#Q2ly3bFaKg{>ffY42QF}}PD
zriTQz+|S<^vJ()*I5V6*y=oJ4+-#Vk#pp+>qJpAcluf}hovtmn5IR!lveJFAwffgg
zgoNT#t4F;pZ;Q5cCL?8Kb~$85`FHTo6GAisxN
zHK+=iWyurQl%ZCJW*Nha@q#j?
z9Zc2@`L_{YopClpoQVV62V*(0>xOLFLJ!@GZSqko2>xekv@fh8khJ;i;I=1|yfZ%nl9bGc{Z3_;C
z+sB>qnJMBINu0d5gfUsmo|#l`5UoKH7zy&}GzoMD>nlGca4I1OxNu~g=naHg!
z7tT1wkI=8C;a*76e5CHjs%XJ}0nQlL;!`W(>AhO=m}EzqB@JpO0i*-hOZFNOrpQ{n
zx%~urfmX3^i5F=`6$4fu7EZoX^D#_fu
zWfncF?GWxyevmBl8Sw%?iucs{mWMFP(p0C>f_Eg4oN^(ZFJ4l^6`Ax|X$*w14rQ>b
z2z{=4*5=i>t=85GI2h+xPWOc}AJlbBGK;c`S`KFuQJ?hIOW6o0?LkRN6s|NVbUT}c
zY2^!Jx?IR$!5!1b#@c?I(@A&P*G~VB9PzlC=JMD)vJLk+s>3kPIWKS1D>KH`3cTM5#GZ
zsq0B+9p%EA6e`9Z!A*EImW0g{5t&&>6$oxD`qqS(E00N&Gslu0bd7%jc5ae=+-^YdgmUe4WocalwliEi6Mt1btWWnVQH
z&Eg&GsS~=iB&G0fPtRL}rZL;f(^`_xm|}?x7i}+JV0gmVn%zTH^L%`80FM3d#I&EE
zqw9>PIBa5(N-_##30EK7{cCZd--l)CSd6I2^UsH3j=G}@R~ig~?C{lIIK}eYm5e>(
z*`L5p5GL?%2kW-|k*`=qlE=9+q{om~E!Y`$R(Fz?gx-*Dr0*VJ^?PpPh)N5C=Q}26
z3+KA61d8%(l%gllG?m{wJZ-dp`h62j{$X7#_7NhMsO(W?z&;$WcY39(N{gI-D(4(M
z7i`E$yI*r_^?gwONFES=`HG!Y8*M@VGxtq*V|jY2iHNwW!+U=Y7T%aM)Y63C9Z9;K
zLy{qJ;bY1-!Eosx!JSE$(z(gg!ws9uQK@k4NEX7#_NqFZPvSkCJYs079S$#%IMTQO
zn;c00o07f3+Cr(mj#=5iy1=gN78n@SEK*#0CZUzN8@@ns_ArJjLum@MwT!u33le=Ma)Pr^3|jL
z`2Xr(_RZ(N(M5tI+5mx-{+JM0KxMxGi4r`^zJW-)6qdV0cb1r
z!nsMP(84>6+Rvf>Osz_3fEd0)KFdKOb=s4s{z=Mkr_EGI(OR|WdI{63PN);irecO%
z`b{8XBVZ7SBJ6;K12S%_+It3y7?yYzI&JhM%_+tmZ3G>tS$bb7#_L*Ut+LbqNjxC!RGpzl3v13GTaz*h8*QGaFhxER)F7
z%5wPY%-=@hp~y?JHD`u~F1%3(f#b4HEaWSO!tjvcbi(WJ*y%qTvj
z_bEQU&umk1wLZ)kZ}4Q<9ukI^@ENF1q*~Rj&t{sbP%P8)0B~utzHe-yCs>>1(l_N?
z`Eq6~`LvJspcNWKub_>DUHZc%73TC154p~D2JgvdJ?Y{6{xa?m?zWx(dAB_Ag>qNU
zLaxH)cnF|ArLo^JOwB-T%7rYf+Z*t8KN2XK`|+EjDtRLYT7;*({CZAZ`=k~lv``+>
z`4^JsQARu$7J=Q#pAy5FJS+)Q>E2FfC3dQlt_EV)nVk3Mm#fBo!)2`>8+^;hnUFOH
z6g*e~=SMEh81lz4P4PEPU`&0=62@J1orv!~b?P}0Ew|X9t#)&ZLeN
z*p4MD#)?pdi58`0G5SBRM8(AP?R-`J)D$p01DwdC~fkM!O4|7;~jH-9#
zWJmQIJGVT)Kld))U8@k`faIl}OkUUu!#DA;w8BbuR)7xGhx`^&LO)Q0Dt9}G&^AJ)
zH|W?@7DlL8{2@y8AMM5&VM+QRl}U1pst*nH7v{aIZ=e!h&E*3?_1N_0oQLQakvku9nu!x&R0XAA&0G7
z@G*)ADY)uZoePK2%-D^)!j)cPBqT+Y`~c47->^={euvI`z54gNY)AZtVeHhuZ%N_!
zyP@=NnP-fQZ(zA5k#q)ij@MkLe)q4i<0^v(3=34oVFNFb6Gvo@Kx5pd8^&U|iJNkg
z!jQd28kV2xQOr2pdB^N58M;7XO2z$P}V6H
zac0vue>egAcnChUB7AAApPOXUN70nM|H9W#GCyb5XEyU0+>S*VpbJ0FIqg{pUwhIM
zeX6=)vhh#8NY6zPLv?(OYqIDRU8#PprRBlu>RUl{E;0kTj<0arS+_y?L&Vn$dZ^;X
z09rKZDJc)HrL&l4GVT@}*>b9X`Z=+XDK8s;YR1R%J8utdyE1JODqaNd8R-lqo1~P!
zE5lKP-ad?JeWn6Ek2l#*;NjnS{0~9=xH&3KE`%jf55s?5S@HqGi0>PXi!u3(^VI5d
zPx<1B6{UFHA*+1g#nZi@O@nR}>F~XF-l%wfbPIo_U0PW2qm@_4KAD#va{Gj<^
z+w4`Ts*kIX2Xf_hTK(|QkO<4(-j=jGEU|Lr14~K)BnBmB*DzA~DKW+4{u5B~pHTW9
z^a~jdq-(7-D5%I{aKP_JoQT)toxN7s$woPBRb!u()E8RI{hB}6ShD7ai_A^DssExM
znmg-lL{O|Lc_c=IJ;r237i8L-wQ#n?Ynb&X3y%NDzgx$v0kxT--)pJfUs!*iBQ#@L
zZHNe?XQ6Lmvs|cuB|d`Cs5+SM4gk|&9^aTnQGtAP|nVCtPNR*UR2i1
zb>x2K1-+@~;}#8fFc;w-?SI3i3%PesqCHPg*(bO^Ld98{@KsVQ&X{>GRwgY83aBQp
zE{KpaSlF0|&~MA(Bg5v}7TbAo``|3I)ZyKSJ%*OfgC_#n;@^GmuT56em|1-OI8!!9
z{$qsT36{~F%KAgEkgw7+OemD?h(-jEeDWMzl(MY7vYglO@66yYm%Tr>->VbzfquF_
z5hI&jzIvvcaKYx0BI8O0WeIM3%vZA@^53d>iaq({TP2zvVWkYJ01N@Os>W)`t>X$jV1<`*YOn=axJza2bDXdpkTn?v0!J}};E}wGN
z(t^-nIeJA40wiD3g0~O?hd7s?*B`O{bc&ItBh?S9LeEpWVFj=7vAh!;mKT#y*=4K$
zbpI6Emnaz6j+Z_6_;h8Az02-taz5SmJppaBbKvs@r`R=0bJ#6!vz!}E!perIC6%1T
zMQ4|%Z|=f>NvbClP`EpTG$Kbxutw>9OPf*ryWP|?VW>oLg5u~%R_!~m>DO*pntWPR
z6I)@VhNz!mYlzv@B=Z}6f{L$c!WrDwlt)1trEj8meG)7^g&_OcG(*N_ly?7|a?VQ_
zMQ5*SI4rLoi;!;IAqr><397`lJM*5L2#bKKp})Wv%mbbMpY7
zWQQQ>@*N^0VPH=A2TjHw%Ic%p0WH8tS^;uysf>g}*YngM`OE8uS(sCO0KxKl(hZW1
zCN@n*0O8oEg)o#J8#cAwnP+@MYEK!YXZX6gy;Hc$4#|I*hcT2rl82+QyvXB}k|ZMA
z7;_Z(8n1BI;=Kkm_=7fiZul4MTI5sl^Bq19*MwWgE!DnM6kk38Xr#_zxv52ffj^%x
ztsuf6eiYZpwl8%4WC6^DGY+BK_BAsMAfr(e#!bvx%U4AS{DhG*;EZ}6r4c#VQ(M-C9(5-*r;ia>p8i0n7zh|dI|a?y)YfNITMTYQg>JjL?Z0c=
zj+^WZGIg%@CDpDC(I$Tt@D=Q-lDn_I!waR9)XDwYf9pU(X(kCl>fgKJQBqTqHE;jV
zA>I}4MpkEWxCs@flN@4|7}b%QGikJkJQEZwflV0td}@La_G3+B!}{a>BYf~j=48+H
zFND;B9`jyT{Rh>0*D`EwbrbxI%$$pyO3J6J)$q&sPTc0Uzb=#h?#74RXp~O)=aQgl
z^@v$57)?uioGspQ&D{VSG6TlG!
zcPvVL>pLe#RVLX8?x^pPxG~1MZEi`AfY)In4jEWFuNk%n**9yDT8vUL+UNWm>U~{w
zXl=TWez0uw)_5Wem)l4M_+Q_I3LSxaC2X<|3u0uwPiD#6aK`ZwaxlGHO`dJNxEu|#z|{}le8rHM^s~V;)Mt-ge**3
zoF-hcB3NkDIFU?LmpXJIyW_F+3g(_5<1J7M`gA)7ZJRQIDzFL;xpq;>+%_=Z7(rpV%nYn#8
z@Rv3(#?(}8az3D}FYn)<>_+wJK*zo$i6lPx+@V3jo`1%+$Ew1M5yN~CZ1He9q|{W0
z1P-RcmQW@;H29U~&)cvkHWg{lFV0}i_^RZyz$Tw01F)$-4tFcX99qc-Sl^6F^)+D2
zLKNE;0EH?-DvxOLtY{G}x*M5QS5pm1QEF3sD&_7?<#iugxf6%-mNVgx>o|KIEC7^t
zT2kjK(q5vH^Fu>-v@B0fb7Lf_30{sYt%;M04`5CjCqX89{%|NKiL}8_3*aD+cnXDTs+fM
zp$D<+Sj8#L8Y{;V=_hDwl+x#h25nn~kP=VY<)j