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`bM%_+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&#x;*+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<)jlN~k(ymC8)_Uiq8KTnY$e&V~<1XC8 zoN)qEZ%CYc8#b#551GPK=j+7KV%;=oJMlg-PXKqF9oXY(N$W+%giV_6i<5rgV~vn! zPea34n9k=T3eqFF9Hvm zLFjRLV|QP;Jl!u$rYhdk%vnz5*%{(9VRG2bQ!_LFXo{Yz6Aw66f?W#n#P>kY2_>)z z#Wcn3lk48}RZ(qVG+cT5?D@6}-h>iIDZ-mH-?;jE>_JZrNmcr;;W?inng~uATCLd; zu+s8&YDX4e2fwh^m8&I+JT%odq}Zgi71%q+x*&m7^2?0EKxXyin{Xu`d1C{f_$Ljb z4gw6h^})bL!+B`nY4cr1)!wPcvpwAtvx10%rT|uW{!R-;{cLB+x*oa*qn> zJ_?i+mE8y2mLFY|M-2L&k~8y=~Xz_QIi9SsS#?74C*+^_hMc4o~>jChTj_t|7y z<%BurQJw^x68ShzxkEQ}l^qAR38zOg-~F~(Bh0v^@9n!?6ha@dkbI76IQqNMP}*QK zElv62)79%qjXUEb!nbl#T;2#w&m>bE!`T#2MiB*AF{&EnsACDm5i06#XebOnu1-Gx zHTH*>1bO9}ANl2-&b%GNeFw^)sML%-h0oCW)^4H@;nruv?y9k7WFipoEBI&U5vbF~ z>?l)IxLlRoL;H@^`&%dpOMgPYzYQAqhZR!82jhlZ)2_LmCFJ+oDBiduh%SR_aXTqT zZ*xhFy{>u1KB?A=w6^hgURIO)pX)sJd{TKvhwa9OJSHA!Z@JtvK7!~!v4WzkG+ytB zsRpCad>T*&28$s;jR3D8I_1=-yT_^{TThG&Q(pY|o?EMUnh&-tib(qRYf}s6Fg~)zE+OM+W2qR z_olN$K&%>>TA361SKl}vTf+6@C4SHx@OVmhN;JbB)Xy9XS%uCeX*s2AO*i3e;$6TF zuUVi@-h<_v>c zNYR?u+c#1wb}#K6(&qJozM7fBdWcoILguo*tK8eU-Ja$GraxEFVRgdbweVlBKI*3ugX8_!Q7k8QG=zkDG%iWMwS>bqf ze?fLkaV^nOisJ+`O?W$ctP_~h;$Cv(Ge6fNjD{Lzk7Gk^m8Z&FiHxn@GVOjI(j)QE zHaFGSD|Jxtz6ZsY!V83LHrH7AF-YolAU=uUTu7T&;e_(-C0k14!o9on%aCB;dbqUc zg#-dvB8p+6_JSo$3OA*5a)Y7NmC%#E!Iy!d=)0Z=tQVOyx<9HDHR_yp$c2R_3Aony zEc0OeDifyISMa_y#Sk~?%xbO**?*hIa#B4cLp4$rncNu)i$E~cM@PCMk-&lJ>Lzl= zodA)fdmoGN%A>Sr^42?+b6OBe!j6gdnve8{W?EU%{TRs8n+CC|RKs-o%~cl4Hn0ZS za?e!0OPv&yXlnP=5&r*k4Mk7&1Z`0_8kf@hN>PysiVYg@H=Q5(9 ziqUD$i?`tr#f5;!ZYADJXltNZ+`W&NRtC@_S++JmXbw%IC4H9jDSqBO^&M;NDKPr35N*jCZAs z?(G`OJ8V9O=K+v?@nHc5Vf^?N%Q?@55F>9LvY6zP-7TpTClyYS@{PXRn(>X&G7#1% z16w~-amRMJE{C=(-EEfL=t3gr!!V)LSzSt=^}Z$F51NS2y5aF2=s`*A4;;Gqy(RL- z)HtLizORLheN8$oA(7zMJ6x7pn0MWt zZ+0@Cg1zWwG;v^No;HC&bnCUSaf~rge~P)M-|Xn|QrL}T^!T0VT%C7GPKwv%L-U|K#TfEI>KPVK_b`CyIIQjzTlu#D4E>IaPjfyP;<8V(=iib3+yM{utssq+lH_3IggB4L^(hC5W*KTYC1ozWGlrXTIM&ipc|j7@EW z&QptS-MGuiIM$)5-i2QUR)F}M!?x{dbS_IXpF%d#IRzZT>zFlqF-a)IfeWL7xehRV zb6lxdx17%OnV1d2+t<_SBKX){9>J_m=25!-lIN9;Rj{gfx`plGoTb-`?H{u z2p?3X_&?c}bBKZhHumxmUTyPm8tGiouHqtNGPsdDC4iRiVWbrnIz2W+BNGAPj;G8V zu`~GVws9Eq)HhS!u6c8u`J5F-s0^9*3Z(*VGcs}v92?;^3I03*UTVCzEqWR^AM8ZaK3z@`R}_ArZv3M8!q zeYr?D#`xv^`qRd_LzKiWNr$u0aF1%uV+2VEU=s{yCw^|!-X#u)Vr?BBTD%c}T$xZt z#AUqJUQ~GBsdW0Y%9AXD{z8JkNXqXKlGgAl^Y7XImi9jQ?ZG!zNFx_7j52!T50ycy z;1u66{dFQ4V@nrVq553BEBJykn%p!D^$?(5G=*&)KDFPBuHn4R2_>LvlPZ~_^GxX$ ztwcA}T|0;Azi=bv(!=*r$jMrE+d=amwB3Y4f1LlXB- zf3$>HIG{9=fkAgcJ(@sLH3MFeu-MsQ#$u~|M#8wNnS|#51TL-P%6FUakVRqVQ<*8E?7L$9b>F{+If{l z5|5z#HE1cQXD5sSpxuGt!S}yFlnt1FAJ}-(6|Vk}aKzr^ToqH#Yk+s;$f&EdF7%ty z-*j6~bl>teMF~f`2(hq32^2bvkH^6c>{+Fi?9kdS9Ma4;XJiAxy{cvh(>PA`0HPit z0-&A zM|d%LxfP8hw~!-aRz?zTjMq(<1<q4zL`9o2Q2vreWmn|tj2>SSxpc!79j}n?2+LXu%C<+6vB0HJ&=*SNn}#E{=jSn zIsA17;FSrfOqAD6%6q*9P(B?%AwV_PrHUu-gam`+TGoSGpfo6Pq4o=p+3nf7t<*kZ zy_p#_{9On~7uaV7Wbd9LRfK~8pgc4{A?F$Nx*|co=Xz!q57f-^6&UC`3 zz2t*TsF-GX>5pj@I8$}{rZ3pR`TCy0o*y*EC@Hgc6Z?sV_PUlcUxaWD6v{dTMr)-0S_7du zq5*CTf>{pn>J9rRW(cq+GkzQ_(Spv^u^Txv%(EMvL6YpVl|Kj**o;&m>G3Q2Op+%N zUK+0uP%OgCoC^x@TjyVqkto)w= z+bheLS$0vR^;{_(1dwt30j!Y;9%#yTzV?5|ME-~PWhOwpiC1$DM4l!JC>mcuf{iu5 z033`go|ssEt-g!lDdyn;Ea5&FDr3wo_B=3CARxQ{yP0ZBAJ0a@Hy-H|V3j0B0QcbB zp7XWj4CiZ?84rkFL1tzJ=E}^+R?C<<0!m1!LjUn*_o=5UR@?*Gy@mV#eE2loOY0a> zJpJYX6(Fx>pCapI<{Onj@&ht+{y$b+-K=HUe*)YhCl&v9_#=7g{v>n1Sx76W~ps*5dJ0JUijFIWQV*hO}lWH4xoLy;pSD-4w`X1l3^ zeA518(Q4X$kqnqW-+mUC)PaapxNaXEgXV1e(UW+Q^ep$i5RT8_CHJIg8F)t*o5hE_ zRYQ27@2;r~OgQj>Dz$PqOPyzi!tEZV3vl-uvlj}2#0*~U3*&`yPge?uckCsy4{&JjYC#)vrv;E`Ugm@wG7bb_ zq^6NB#I@Dpb@4K}?;*%r>Q*qM8CSjpl~!U@CU#>ZpCH2O*wGNK6T@ND+7j_T)1G63 z@mxK7L7YJk@*`x#^a}N{QIDz#4)YZNw?5PR`Yw!qfF@`S4m5nR6@(-U8NaUBjfU$} z`N5nzYvJ3h*eS&eBFi9 zJseIuyL*~>0XkmqQ~w6o716@ zx9slWb5Kk@fUN<$kn&h+qlDd=F!kW_vbVpCJO6?7E8(3UqV&zW2if~#*xu+FYvdCs ztl{vDlS&BXhfH{_UHh$qe}-Ak4;-&cpL-8`>ds_K&Zf~P846hkT+$R55hMDvP9dDs zCy>9A66K#dL$X2{^$EkdkFfM2q0dD*JQNY_zlMi{@rK~+Nf;X6DqCjtD`$jPY4;d+ zF+&EOcr$iUw6YxEq-Z>K&yuu7kZ%o`nC|CD*>7j$g4_b8|B_ls1|-cCy|{6Nz9w}w zA<&2=m@a`fxSzQ-)whUz6#sjEec>8ypE&K$5j_C;P$Q597f~r$7#x% zp^WfAOk)p~sUgbPXIA$`sJdQ~^(=b(t-Lsh; zBY{y7uYId8yLjdYdYe(D8Y)_{ir}YQ0+o)IEN6YSzY1!?I;4EUY`C^A-mnb#riwQZ zUh28roA<5Fw0w<5Od5}*@I3ksK zz9;HSz)k(<3DSwQu{$+HvL2?9c*xMwEJ_5>=1fBH(&yMttE?dFb@> zz;Dd-uw=96Y2MOS+OU@?`RPCG%q&Yj7sVyVOyW;cRlK)8)=c33pzz+3Yu#8*jM7>C z@*HKcu&`bahmy}|ix{`nqT{qM*=iuUaQL%v1ixejTf_*9 z-Q-!2;9@0!EMf4>tvxo9;i2zd?9X23=@yn<3ix4Qz=<%hBq+Vr{l3=F>{auiS&h9x zQ_qXr?4Nb4A*K)ndo;ancTYm+=h533GRkPrIr+UH!wN(CQb5`L8lHFg7%Sp8zhc`p z|1v3qO*sX}-?wTRoOl~f8hmtAs*TGpUhHOUB~$%d561-Wb4~pzxbs}rdoo;aY6bU# zciUZ=>5Y#VgigV4g4iq+F6n;fYU*dALnMc{Kbf9VJ1)@ag0ID0XATy!bz?(K9C}@8 z0;i>%#WuO79eT@APUnDbx1wEdv@fcWEB-YbmP>+=L3tlQ~2IP z)|xan?}DF8!=KYU*^v%?G!f>!rblaYK1W~kY`2uaukU{tJ>S3^c6M)sA$f9n_D{w_ zK-rTTO|M__$t6`s$M_-)$x+nnDSD6gl?((PUuVQO*OY#~B8}mhn2s%7VR#k25e^;m zJNgC5X4dn)Fv|x1rLnI=N?`Fv(@>vuc#|#_GRBEbDQs&}oKoz1azg_hNs{MJmcaYW zYOWJeA(tHydEioszdr19^uC=vusvLj2v!3yCn;yhi@y>y1sIyu&x0g4&_&Oi8Qi_rCHAz6e@4SK z+$&|5wAxi!^|bgR*E~V;>WD&26YI7RRgwJmR{~GNURvW$_~2nLDGUcS$!pUw=+&P< zkX>AT!*dj*TzDppLFllyBTmM*PURKz$jp{=U2%Wkmu?c=(btRVS(=yk>4}^yv}YhzobSeF20>slPIE$&ku-sp9#g zKW&o}NI7c>3b~ADcbkuc!XK8DwrKi4gviORlpJ!f=DM>bK?dWWXt$7-;eLbZRw%w2 z)yT7wPRN!j{+Wi|1Lle+Q)_^R$#MjFL?8#3;9y+RESXN2bNsPo|J$qfVNJomU&E~Y z33_z;X-c7Y&$$8ahD)JbzfTjMv{OQgXvd!o1LavOB%zd-RrQX(_TLePHX8Ng-p4JrIH-n(frR}v$Yhl(;psUac%7*38!s4yRH z-WlTUd9{6n8b7JWHXTE`UQyN%W9bbYi)IeECq*e`^LyPLTX6lu`Jz@1H@_fCQ29%{yGoh|xo3 zW|I~VZ6^ybg6HY1n?*eQ4K41s)8xZ*y_CG4P9w<%bX!>eB}32A!lN}`xK%3W3~z!` zKLq(?k9=V{E(2Iouj;|udxZnh`GNcV3L9#VpLX%W=Q%@326oG5TF>KHeiq@jR6e*t z0=2OSF5U)ik5Fd83+phqcfzC+NI-o@_#-DH4s^jU?yoA63=c-{zwcsFhu`RQc^#7~ z78bE>wy!}^IVo)*>ymA;5!t}+{Liq47qg)2jNz@C7qiS+k=d26V-iI7m0tr)ESM3I z_!1w%0EKLx-fxOs>_Db1IAKA3j*w${lj1D>zFy==(0ljYJP zxaVaQdYa`Hq$FRhU?rx;GWH|hVHL)>XqJ@~%Lmf*JXcahEB&|dU2b$PZ`tms&wAsU z)6hMVJB61NVHD49Od7=pXY(U3^@mH3HBB3*bRBuMA|dhuk3}h&Yt+AN6h-5LSddBG zSQvQ&kGF!Kw89N*PNCex0^3~V`L2 z%zIZP61I5wo&D^rLUp>lAu|g}!5FA!O3r}coUFTRkd$bt{TCrTC%NwT+d*#Rv>BFl zO7{HCL*Jdhl+^jFN{_!tIa_^T%f&0)L>PVhe%%N)^^HXA>dbj=eLqd+ZRWiVi-y>j&`LOFM)n<`dwD(1`0gQ`?q z#gplaJbm+ua_;YRdza_{ts5MO=m-Xy7oebx!po!IP&7_$s>2-29a1BKoVf2vZ%aP;$4_|! zmIC}@DThpA!$|*7J_yRP#+Nq`ZiPFF{vh7PT*Pv=8&b`DO4zo`x+g*7*Ry<%VJ-rj zpy3^x^+eGeLxV>`xMqjFw3N{Jb$rq#W-4ue@f(|hg+_hSH(>io=O{5GvTc7pmi#J# zWt2ntjvD*Xz};13jFfwCk@>^#TS;Z{`-+1Dn!T#_vY;_%aE6HIW!@?gye&*AA?2j# z5kf1bdXJ2mYz2@tXxER?gc#++PvCpq(Eb2+rvj;**|a8o!#{yz>Kx7uA^SuJdxhp+ zEfw-9frDyNd_0|6?(+AaMWg|!hu(Yp41)$OC)<1&-Kl%Drv>NPqG!yk9&78=_dn=O z!~RmrwvE=%Lsc`yNQ$;Jp{5FxoEGKWlrfB${Qp+&e1S@Fj+CF>bdrr_nF;Wcf*w6Oz+ebhec5yRNU7L1c~Qk9~NFtG}ZVM-tse$f3hXH zP49Qfi>v)2Wv^#8blF~B$&v}#atk@0)vW;`$6po1=pqOEb1CV=Rd$2M2OrA6A8qEeId~I=(L)YZ1BlNu*jr z|L;$+z_H_@ISxVNDS>eBC@rT~1G0#R0u(;T2^%W4AD3JH+;_8=vR1A)?31US@H@+o zrfoCoX#SGv6|x6h*zrp`4|-$eWI$X4W~cr*^99;i_`Ue-#fi@Cwd0E&dhg4!Tv6au z#|P@cKaW^YW)WV5KDshtMl|E|SDZ8F&%Vzgzof`38)udwZy|?4VNAgL&v^i(8iw2L)0|F+I~WMv=oOnlbwZ(R5CC zvxn)Eh4!KgHphp;FSRd*6`4C+;{+88d*C92@&nfHtLHg}97ukoBu+w zC<&x>!%mkFl#{KX!WCC|=+y^_8=~HP8}VKjY0=JD?3H&hi8eN`#2@~)t5B`IS5pq3 zq0HLb6%4(&44rpzfoN~cx(%5&csR8e7#z9z1(cY?QBQ7#XDzS!v~8xAg?bqJ{vlu) zIsa7H=R2b=jA_VaL_PG7gyrKfm4xEHzdU6Au`{8EIw%gp8yN&|FGBT3T;HN*>?CwCZMb0xX8 zX!8sj_hdr!gi~~F%td9p@_Qx8wlAw6UUst_R!U&RB!$pkgdD82ZP7vFd@ijwAECS6 z9+?r@K$=_?D)vcI-ZE&u!zAI^_9tijw`TAWz@q$?QEAVUpVp5|*$!*04VePzn7C@; zd)$}hf&E*V^$aQZ?}BRzMmFK;<+(3sg8dCYw>#Y!mH6_bB^P^j^_&5{_3>jCGshWN z45Nb~#x8>Ji0w`ez)`Bv!U+-t%`wQl%E|5&@Qf5u0vlQ-N1(Q ztkkP_zw)2E$HM3Jl@(WfS(-%V(l7HDH^{c9tI1Lqcw=W@ zu4{QP%>RY&F-3af*8Hm4@C7dhf|#oh{$GGf5e65e41GNL6OA#Y9mi&} zt22gnUW;dm%>~^E*)`#?Zb54yBC`_9Pq8RIX^{F7Y*1G*ldm~=$jdzbppo!S0f+WI zOpw>N>qbfj?|j-kMNBti5nH^DOVv>BkAnte`_R)~N+Myh_K&?KnM&u=(ppzvXVq}5 zUeHt+PEY~%L5I_=gQibzhTTUn{i?TDZ1I~Fu7{}j$gc%QhqAA4e~jMDavMJzl-T`O zL(fWAOOxiSG?0DJRmy?dQA4WX#BiZL#{`)Mp!(O#-#?hrdoPF6>itN0LceEDU9a0% zX(sk(Fa3UO60UUCU-@m1hx4Ry*hQP|`jVStkHW6Jc<0p~f91sYw$IT&J(lP9+{;1p zz_Oa6gF!f2nosq@&Hni}YkdODnp+PaY<&!$f7^^Pc$85s=bo`DJ;oBQ`1N$U!$soN z>BX@}uXNuf6u%I77ymIjrfoOOd9t=Xyssh&bQcHS!WW06KVJ^;6EQJZ&pR42m2J-$ zq=0{LZ10}xHZgz&Fsk%(|2nHwXSgPH9O#nv5_xTAz-2o&n^flvOpOPt3bn z{jqnw?}LNhZT}5Vro{U-%a~Gnn9P3=u0WU%$LPt*ASdyEGq`A4C2sq$Jf?Q=zoAY6 z{JzPK&MOQ5fW`;ljBS1I(YcVV!@#ahD}$Muy#y>sYtsHvJIz82rL4twbOETaRrcl=O>%A~xHh)FAd{r?x~1Qz@L zSE@!SOP~@ouGzo>;LX4rfY-43^(fuI|HNkY7-1_~Vne_d8velMe+l8#ztOrMI3%56 zrLS7a03a1&(%M*_DdDFh6$>DK}cgzbJ`D$tki0*(T%O=rmY%9W~* zmjE=@77U~L_l4B$;_usHQ@XmNneJ)|0Yhx`ed>UnfxUpY18<7IpIE?u(nY|{Hh;+g zAQj49qx}1S1a1L7+|kSvl@Q-a0!GoqhpQgg33w~;Uc$`Dq$2;^t^`g>XSl*wt7HI>3f(|2 z0p2&n(Q6N3f#Bv|t2yAKzy(!OnpuS15C;PX5{~cPK92s!;%BuB_)I$Eseh6IKq_7c zI34(W9OZ6JFN2?2xe|CS@Kgo;%uNAy0QLap#zucY3;^l)XU6(xvm5wOI>V*DIwb>u zRO}GY2>cj$C!<@Ba!UL><<#I`lh@oE2~+vg2&?rc0TUQ}W@D^%0SBiu{LNRTWB`!H zG6;MDI2G7tgrDMU;Il>iC)VeU*!KYT26l-bn;QS!lL_k@#>X&IQz1WNy}-Wd3=jEA zl#<0=04fK+0ImeS2^<|q$HOs;utjj^IQkwxpz-GaJ{SKxm-pW_13uo@yldmfY6pCt zY6{Nh0Z;o9l$-&O#(MN$7e}Gp@k0v;x1QZ=7_ZNqujLVW6_}UK@Pwt1lE>QttJJ#k znm@o|!V35w0jmwNMe{tcr_En707#{>xs&Er5q1c?7Pt&pZB zs2zAe;T`}F4H6bKbgO}P11EUIuOtJ2D#2pHWr6bumkc!YhW{*ZJMbOCu7xYSrLrV& z7l10qD&S1QfjRqGjxFj0ZYJE&=SJWe!ikF5{3RIxR1zJ{916@QOz%H9gugNk*qyMw zZwBE&9c?)%eGB+${5>{)Nt@&9X^my`{{`WC{`T=h>j_8s4rT)3aGi04z4*0w*=n#6 z|8u~#!1sVhZ2FQ604k@E|6+=B``RR02RuMHKu z!fuGGfh&OabcW@YMv?(Qm+Ui?g8!xmZmeTu|$##0IC#!1Kw&G z`sL!I8(0ghAY8k@8@LI07@HG61NO{gtrjZ$g!SpSiqId~f`oR}&UHE+_2E ze*(A{_&e}eIr+ z{sLiZ<9)zmguVB#I9)HPT)7KCW2U2-lYk#kxb*;?z&XGo!YzSk5Y7#l6oWut^RCTn z;JNtUy?OsVF8+5-UXx!AyckF9&jT+z9WTiMAdNf(%mJ>84SO`!0N+k$__kG*Bm;md zBLvJQ98)`wksa*w0`UHHhQ0FE63x9U;de<5($ST;58 zUzs000000000000000000000000000000000000DtfW%|JL0$awbh00000 LNkvXXu0mjf)kf6t literal 0 HcmV?d00001 From bc88ccb7884b790c90e0e09dc0ed74cce0ce9bae Mon Sep 17 00:00:00 2001 From: Jeong YunWon Date: Wed, 30 Aug 2023 22:10:38 +0900 Subject: [PATCH 5/8] update to python 3.11.5 --- docs.inc.rs | 385 ++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 298 insertions(+), 87 deletions(-) diff --git a/docs.inc.rs b/docs.inc.rs index b3874e7..4f36496 100644 --- a/docs.inc.rs +++ b/docs.inc.rs @@ -63,12 +63,15 @@ ("_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._frozen_module_names", Some("Returns the list of available frozen modules.")), + ("_imp._override_frozen_modules_for_tests", Some("(internal-only) Override PyConfig.use_frozen_modules.\n\n(-1: \"off\", 1: \"on\", 0: no override)\nSee frozen_modules() in Lib/test/support/import_helper.py.")), ("_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.")), ("_imp.create_builtin", Some("Create an extension module.")), ("_imp.create_dynamic", Some("Create an extension module.")), ("_imp.exec_builtin", Some("Initialize a built-in module.")), ("_imp.exec_dynamic", Some("Initialize an extension module.")), ("_imp.extension_suffixes", Some("Returns the list of file suffixes used to identify extension modules.")), + ("_imp.find_frozen", Some("Return info about the corresponding frozen module (if there is one) or None.\n\nThe returned info (a 2-tuple):\n\n * data the raw marshalled bytes\n * is_package whether or not it is a package\n * origname the originally frozen module's name, or None if not\n a stdlib module (this will usually be the same as\n the module's current name)")), ("_imp.get_frozen_object", Some("Create a code object for a frozen module.")), ("_imp.init_frozen", Some("Initializes a frozen module.")), ("_imp.is_builtin", Some("Returns True if the module name corresponds to a built-in module.")), @@ -110,7 +113,7 @@ ("_io.StringIO.__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")), ("_io.StringIO.__new__", Some("Create and return a new object. See help(type) for accurate signature.")), ("_io.StringIO.__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")), - ("_io.TextIOWrapper", Some("Character and line based layer over a BufferedIOBase object, buffer.\n\nencoding gives the name of the encoding that the stream will be\ndecoded or encoded with. It defaults to locale.getpreferredencoding(False).\n\nerrors determines the strictness of encoding and decoding (see\nhelp(codecs.Codec) or the documentation for codecs.register) and\ndefaults to \"strict\".\n\nnewline controls how line endings are handled. It can be None, '',\n'\\n', '\\r', and '\\r\\n'. It works as follows:\n\n* On input, if newline is None, universal newlines mode is\n enabled. Lines in the input can end in '\\n', '\\r', or '\\r\\n', and\n these are translated into '\\n' before being returned to the\n caller. If it is '', universal newline mode is enabled, but line\n endings are returned to the caller untranslated. If it has any of\n the other legal values, input lines are only terminated by the given\n string, and the line ending is returned to the caller untranslated.\n\n* On output, if newline is None, any '\\n' characters written are\n translated to the system default line separator, os.linesep. If\n newline is '' or '\\n', no translation takes place. If newline is any\n of the other legal values, any '\\n' characters written are translated\n to the given string.\n\nIf line_buffering is True, a call to flush is implied when a call to\nwrite contains a newline character.")), + ("_io.TextIOWrapper", Some("Character and line based layer over a BufferedIOBase object, buffer.\n\nencoding gives the name of the encoding that the stream will be\ndecoded or encoded with. It defaults to locale.getencoding().\n\nerrors determines the strictness of encoding and decoding (see\nhelp(codecs.Codec) or the documentation for codecs.register) and\ndefaults to \"strict\".\n\nnewline controls how line endings are handled. It can be None, '',\n'\\n', '\\r', and '\\r\\n'. It works as follows:\n\n* On input, if newline is None, universal newlines mode is\n enabled. Lines in the input can end in '\\n', '\\r', or '\\r\\n', and\n these are translated into '\\n' before being returned to the\n caller. If it is '', universal newline mode is enabled, but line\n endings are returned to the caller untranslated. If it has any of\n the other legal values, input lines are only terminated by the given\n string, and the line ending is returned to the caller untranslated.\n\n* On output, if newline is None, any '\\n' characters written are\n translated to the system default line separator, os.linesep. If\n newline is '' or '\\n', no translation takes place. If newline is any\n of the other legal values, any '\\n' characters written are translated\n to the given string.\n\nIf line_buffering is True, a call to flush is implied when a call to\nwrite contains a newline character.")), ("_io.TextIOWrapper.__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")), ("_io.TextIOWrapper.__new__", Some("Create and return a new object. See help(type) for accurate signature.")), ("_io.TextIOWrapper.__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")), @@ -131,11 +134,11 @@ ("_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._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.getencoding", Some("Get the current locale encoding.")), ("_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.")), @@ -148,6 +151,7 @@ ("_operator.abs", Some("Same as abs(a).")), ("_operator.add", Some("Same as a + b.")), ("_operator.and_", Some("Same as a & b.")), + ("_operator.call", Some("Same as obj(*args, **kwargs).")), ("_operator.concat", Some("Same as a + b, for a and b sequences.")), ("_operator.contains", Some("Same as b in a (note reversed operands).")), ("_operator.countOf", Some("Return the number of items in a which are, or which equal, b.")), @@ -202,7 +206,6 @@ ("_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.")), @@ -211,10 +214,8 @@ ("_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.strsignal", Some("Return the system description of the given signal.\n\nReturns the description of signal *signalnum*, such as \"Interrupt\"\nfor :const:`SIGINT`. Returns :const:`None` if *signalnum* has no\ndescription. Raises :exc:`ValueError` if *signalnum* is invalid.")), ("_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), ("_sre.ascii_tolower", None), @@ -270,6 +271,9 @@ ("_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")), + ("_tokenize.TokenizerIter.__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")), + ("_tokenize.TokenizerIter.__new__", Some("Create and return a new object. See help(type) for accurate signature.")), + ("_tokenize.TokenizerIter.__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")), ("_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.")), @@ -277,15 +281,15 @@ ("_weakref", Some("Weak-reference support module.")), ("_weakref._remove_dead_weakref", Some("Atomically remove key from dict if it points to a dead weakref.")), ("_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.")), + ("_weakref.getweakrefs", Some("Return a list of all weak reference objects pointing to 'object'.")), + ("_weakref.proxy", Some("Create a proxy object that weakly references 'object'.\n\n'callback', if given, is called with a reference to the\nproxy when 'object' is about to be finalized.")), ("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.\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.")), + ("builtins", Some("Built-in functions, types, exceptions, and other objects.\n\nThis module provides direct access to all 'built-in'\nidentifiers of Python; for example, builtins.len is\nthe full name for the built-in function len().\n\nThis module is not normally accessed explicitly by most\napplications, but can be useful in modules that provide\nobjects with the same name as a built-in value, but in\nwhich the built-in of that name is also needed.")), ("builtins.ArithmeticError", Some("Base class for arithmetic errors.")), ("builtins.ArithmeticError.__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.ArithmeticError.__new__", Some("Create and return a new object. See help(type) for accurate signature.")), @@ -302,6 +306,11 @@ ("builtins.BaseException.__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.BaseException.__new__", Some("Create and return a new object. See help(type) for accurate signature.")), ("builtins.BaseException.__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.BaseExceptionGroup", Some("A combination of multiple unrelated exceptions.")), + ("builtins.BaseExceptionGroup.__class_getitem__", Some("See PEP 585")), + ("builtins.BaseExceptionGroup.__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.BaseExceptionGroup.__new__", Some("Create and return a new object. See help(type) for accurate signature.")), + ("builtins.BaseExceptionGroup.__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.BlockingIOError", Some("I/O operation would block.")), ("builtins.BlockingIOError.__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.BlockingIOError.__new__", Some("Create and return a new object. See help(type) for accurate signature.")), @@ -358,6 +367,10 @@ ("builtins.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")), ("builtins.Exception.__new__", Some("Create and return a new object. See help(type) for accurate signature.")), ("builtins.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")), + ("builtins.ExceptionGroup.__class_getitem__", Some("See PEP 585")), + ("builtins.ExceptionGroup.__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.ExceptionGroup.__new__", Some("Create and return a new object. See help(type) for accurate signature.")), + ("builtins.ExceptionGroup.__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.FileExistsError", Some("File already exists.")), ("builtins.FileExistsError.__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.FileExistsError.__new__", Some("Create and return a new object. See help(type) for accurate signature.")), @@ -555,11 +568,11 @@ ("builtins.ZeroDivisionError.__new__", Some("Create and return a new object. See help(type) for accurate signature.")), ("builtins.ZeroDivisionError.__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.__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.__import__", Some("Import a module.\n\nBecause 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.anext", Some("async anext(aiterator[, default])\n\nReturn the next item from the async iterator. If default is given and the async\niterator is exhausted, it is returned instead of raising StopAsyncIteration.")), ("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'")), @@ -567,7 +580,7 @@ ("builtins.bool.__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.bool.__new__", Some("Create and return a new object. See help(type) for accurate signature.")), ("builtins.bool.__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.bool.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.bool.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. Default is to use 'big'.\n signed\n Indicates whether two's complement is used to represent the integer.")), ("builtins.breakpoint", Some("breakpoint(*args, **kws)\n\nCall sys.breakpointhook(*args, **kws). sys.breakpointhook() must accept\nwhatever arguments are passed.\n\nBy default, this drops you into the pdb debugger.")), ("builtins.bytearray", Some("bytearray(iterable_of_ints) -> bytearray\nbytearray(string, encoding[, errors]) -> bytearray\nbytearray(bytes_or_buffer) -> mutable copy of bytes_or_buffer\nbytearray(int) -> bytes array of size given by the parameter initialized with null bytes\nbytearray() -> empty bytes array\n\nConstruct a mutable bytearray object from:\n - an iterable yielding integers in range(256)\n - a text string encoded using the specified encoding\n - a bytes or a buffer object\n - any object implementing the buffer API.\n - an integer")), ("builtins.bytearray.__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")), @@ -583,7 +596,7 @@ ("builtins.bytes.maketrans", Some("Return a translation table useable for the bytes or bytearray translate method.\n\nThe returned table will be one where each byte in frm is mapped to the byte at\nthe same position in to.\n\nThe bytes objects frm and to must be of the same length.")), ("builtins.callable", Some("Return whether the object is callable (i.e., some kind of function).\n\nNote that classes are callable, as are instances of classes with a\n__call__() method.")), ("builtins.chr", Some("Return a Unicode string of one character with ordinal i; 0 <= i <= 0x10ffff.")), - ("builtins.classmethod", Some("classmethod(function) -> method\n\nConvert a function to be a class method.\n\nA class method receives the class as implicit first argument,\njust like an instance method receives the instance.\nTo declare a class method, use this idiom:\n\n class C:\n @classmethod\n def f(cls, arg1, arg2, ...):\n ...\n\nIt can be called either on the class (e.g. C.f()) or on an instance\n(e.g. C().f()). The instance is ignored except for its class.\nIf a class method is called for a derived class, the derived class\nobject is passed as the implied first argument.\n\nClass methods are different than C++ or Java static methods.\nIf you want those, see the staticmethod builtin.")), + ("builtins.classmethod", Some("classmethod(function) -> method\n\nConvert a function to be a class method.\n\nA class method receives the class as implicit first argument,\njust like an instance method receives the instance.\nTo declare a class method, use this idiom:\n\n class C:\n @classmethod\n def f(cls, arg1, arg2, argN):\n ...\n\nIt can be called either on the class (e.g. C.f()) or on an instance\n(e.g. C().f()). The instance is ignored except for its class.\nIf a class method is called for a derived class, the derived class\nobject is passed as the implied first argument.\n\nClass methods are different than C++ or Java static methods.\nIf you want those, see the staticmethod builtin.")), ("builtins.classmethod.__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.classmethod.__new__", Some("Create and return a new object. See help(type) for accurate signature.")), ("builtins.classmethod.__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")), @@ -592,7 +605,7 @@ ("builtins.complex.__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.complex.__new__", Some("Create and return a new object. See help(type) for accurate signature.")), ("builtins.complex.__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.delattr", Some("Deletes the named attribute from the given object.\n\ndelattr(x, 'y') is equivalent to ``del x.y''")), + ("builtins.delattr", Some("Deletes the named attribute from the given object.\n\ndelattr(x, 'y') is equivalent to ``del x.y``")), ("builtins.dict", Some("dict() -> new empty dictionary\ndict(mapping) -> new dictionary initialized from a mapping object's\n (key, value) pairs\ndict(iterable) -> new dictionary initialized as if via:\n d = {}\n for k, v in iterable:\n d[k] = v\ndict(**kwargs) -> new dictionary initialized with the name=value pairs\n in the keyword argument list. For example: dict(one=1, two=2)")), ("builtins.dict.__class_getitem__", Some("See PEP 585")), ("builtins.dict.__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")), @@ -607,7 +620,7 @@ ("builtins.enumerate.__new__", Some("Create and return a new object. See help(type) for accurate signature.")), ("builtins.enumerate.__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.eval", Some("Evaluate the given source in the context of globals and locals.\n\nThe source may be a string representing a Python expression\nor a code object as returned by compile().\nThe globals must be a dictionary and locals can be any mapping,\ndefaulting to the current globals and locals.\nIf only globals is given, locals defaults to it.")), - ("builtins.exec", Some("Execute the given source in the context of globals and locals.\n\nThe source may be a string representing one or more Python statements\nor a code object as returned by compile().\nThe globals must be a dictionary and locals can be any mapping,\ndefaulting to the current globals and locals.\nIf only globals is given, locals defaults to it.")), + ("builtins.exec", Some("Execute the given source in the context of globals and locals.\n\nThe source may be a string representing one or more Python statements\nor a code object as returned by compile().\nThe globals must be a dictionary and locals can be any mapping,\ndefaulting to the current globals and locals.\nIf only globals is given, locals defaults to it.\nThe closure must be a tuple of cellvars, and can only be used\nwhen source is a code object requiring exactly that many cellvars.")), ("builtins.filter", Some("filter(function or None, iterable) --> filter object\n\nReturn an iterator yielding those items of iterable for which function(item)\nis true. If function is None, return the items that are true.")), ("builtins.filter.__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.filter.__new__", Some("Create and return a new object. See help(type) for accurate signature.")), @@ -616,7 +629,6 @@ ("builtins.float.__getformat__", Some("You probably don't want to use this function.\n\n typestr\n Must be 'double' or 'float'.\n\nIt exists mainly to be used in Python's test suite.\n\nThis function returns whichever of 'unknown', 'IEEE, big-endian' or 'IEEE,\nlittle-endian' best describes the format of floating point numbers used by the\nC type named by typestr.")), ("builtins.float.__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.float.__new__", Some("Create and return a new object. See help(type) for accurate signature.")), - ("builtins.float.__setformat__", Some("You probably don't want to use this function.\n\n typestr\n Must be 'double' or 'float'.\n fmt\n Must be one of 'unknown', 'IEEE, big-endian' or 'IEEE, little-endian',\n and in addition can only be one of the latter two if it appears to\n match the underlying C reality.\n\nIt exists mainly to be used in Python's test suite.\n\nOverride the automatic determination of C-level floating point type.\nThis affects how floats are converted to and from binary strings.")), ("builtins.float.__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.float.fromhex", Some("Create a floating-point number from a hexadecimal string.\n\n>>> float.fromhex('0x1.ffffp10')\n2047.984375\n>>> float.fromhex('-0x1p-1074')\n-5e-324")), ("builtins.format", Some("Return value.__format__(format_spec)\n\nformat_spec defaults to the empty string.\nSee the Format Specification Mini-Language section of help('FORMATTING') for\ndetails.")), @@ -636,7 +648,7 @@ ("builtins.int.__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.int.__new__", Some("Create and return a new object. See help(type) for accurate signature.")), ("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.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. Default is to use 'big'.\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 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.")), @@ -665,7 +677,7 @@ ("builtins.oct", Some("Return the octal representation of an integer.\n\n >>> oct(342391)\n '0o1234567'")), ("builtins.ord", Some("Return the Unicode code point for a one-character string.")), ("builtins.pow", Some("Equivalent to base**exp with 2 arguments or base**exp % mod with 3 arguments\n\nSome types, such as ints, are able to use a more efficient algorithm when\ninvoked using the three argument form.")), - ("builtins.print", Some("print(value, ..., sep=' ', end='\\n', file=sys.stdout, flush=False)\n\nPrints the values to a stream, or to sys.stdout by default.\nOptional keyword arguments:\nfile: a file-like object (stream); defaults to the current sys.stdout.\nsep: string inserted between values, default a space.\nend: string appended after the last value, default a newline.\nflush: whether to forcibly flush the stream.")), + ("builtins.print", Some("Prints the values to a stream, or to sys.stdout by default.\n\n sep\n string inserted between values, default a space.\n end\n string appended after the last value, default a newline.\n file\n a file-like object (stream); defaults to the current sys.stdout.\n flush\n whether to forcibly flush the stream.")), ("builtins.property", Some("Property attribute.\n\n fget\n function to be used for getting an attribute value\n fset\n function to be used for setting an attribute value\n fdel\n function to be used for del'ing an attribute\n doc\n docstring\n\nTypical use is to define a managed attribute x:\n\nclass C(object):\n def getx(self): return self._x\n def setx(self, value): self._x = value\n def delx(self): del self._x\n x = property(getx, setx, delx, \"I'm the 'x' property.\")\n\nDecorators make defining new properties or modifying existing ones easy:\n\nclass C(object):\n @property\n def x(self):\n \"I am the 'x' property.\"\n return self._x\n @x.setter\n def x(self, value):\n self._x = value\n @x.deleter\n def x(self):\n del self._x")), ("builtins.property.__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.property.__new__", Some("Create and return a new object. See help(type) for accurate signature.")), @@ -685,13 +697,13 @@ ("builtins.set.__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.__new__", Some("Create and return a new object. See help(type) for accurate signature.")), ("builtins.set.__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.setattr", Some("Sets the named attribute on the given object to the specified value.\n\nsetattr(x, 'y', v) is equivalent to ``x.y = v''")), + ("builtins.setattr", Some("Sets the named attribute on the given object to the specified value.\n\nsetattr(x, 'y', v) is equivalent to ``x.y = v``")), ("builtins.slice", Some("slice(stop)\nslice(start, stop[, step])\n\nCreate a slice object. This is used for extended slicing (e.g. a[0:10:2]).")), ("builtins.slice.__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.slice.__new__", Some("Create and return a new object. See help(type) for accurate signature.")), ("builtins.slice.__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.sorted", Some("Return a new list containing all items from the iterable in ascending order.\n\nA custom key function can be supplied to customize the sort order, and the\nreverse flag can be set to request the result in descending order.")), - ("builtins.staticmethod", Some("staticmethod(function) -> method\n\nConvert a function to be a static method.\n\nA static method does not receive an implicit first argument.\nTo declare a static method, use this idiom:\n\n class C:\n @staticmethod\n def f(arg1, arg2, ...):\n ...\n\nIt can be called either on the class (e.g. C.f()) or on an instance\n(e.g. C().f()). Both the class and the instance are ignored, and\nneither is passed implicitly as the first argument to the method.\n\nStatic methods in Python are similar to those found in Java or C++.\nFor a more advanced concept, see the classmethod builtin.")), + ("builtins.staticmethod", Some("staticmethod(function) -> method\n\nConvert a function to be a static method.\n\nA static method does not receive an implicit first argument.\nTo declare a static method, use this idiom:\n\n class C:\n @staticmethod\n def f(arg1, arg2, argN):\n ...\n\nIt can be called either on the class (e.g. C.f()) or on an instance\n(e.g. C().f()). Both the class and the instance are ignored, and\nneither is passed implicitly as the first argument to the method.\n\nStatic methods in Python are similar to those found in Java or C++.\nFor a more advanced concept, see the classmethod builtin.")), ("builtins.staticmethod.__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.staticmethod.__new__", Some("Create and return a new object. See help(type) for accurate signature.")), ("builtins.staticmethod.__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")), @@ -865,30 +877,28 @@ ("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._path_normpath", Some("Basic path normalization.")), ("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.")), @@ -914,26 +924,23 @@ ("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.login_tty", Some("Prepare the tty of which fd is a file descriptor for a new login session.\n\nMake the calling process a session leader; make the tty the\ncontrolling tty, the stdin, the stdout, and the stderr of the\ncalling process; close fd.")), + ("posix.lseek", Some("Set the position of a file descriptor. Return the new position.\n\n fd\n An open file descriptor, as returned by os.open().\n position\n Position, interpreted relative to 'whence'.\n whence\n The relative position to seek from. Valid values are:\n - SEEK_SET: seek from the start of the file.\n - SEEK_CUR: seek from the current file position.\n - SEEK_END: seek from the end of the file.\n\nThe return value is the number of bytes relative 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. 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.")), @@ -942,11 +949,7 @@ ("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.")), @@ -959,25 +962,12 @@ ("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.")), @@ -990,13 +980,9 @@ ("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.")), @@ -1028,12 +1014,6 @@ ("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.")), @@ -1047,7 +1027,7 @@ ("pwd.struct_passwd.__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")), ("pwd.struct_passwd.__new__", Some("Create and return a new object. See help(type) for accurate signature.")), ("pwd.struct_passwd.__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")), - ("sys", Some("This module provides access to some objects used or maintained by the\ninterpreter and to functions that interact strongly with the interpreter.\n\nDynamic objects:\n\nargv -- command line arguments; argv[0] is the script pathname if known\npath -- module search path; path[0] is the script directory, else ''\nmodules -- dictionary of loaded modules\n\ndisplayhook -- called to show results in an interactive session\nexcepthook -- called to handle any uncaught exception other than SystemExit\n To customize printing in an interactive session or to install a custom\n top-level exception handler, assign other functions to replace these.\n\nstdin -- standard input file object; used by input()\nstdout -- standard output file object; used by print()\nstderr -- standard error object; used for error messages\n By assigning other file objects (or objects that behave like files)\n to these, it is possible to redirect all of the interpreter's I/O.\n\nlast_type -- type of last uncaught exception\nlast_value -- value of last uncaught exception\nlast_traceback -- traceback of last uncaught exception\n These three are only available in an interactive session after a\n traceback has been printed.\n\nStatic objects:\n\nbuiltin_module_names -- tuple of module names built into this interpreter\ncopyright -- copyright notice pertaining to this interpreter\nexec_prefix -- prefix used to find the machine-specific Python library\nexecutable -- absolute path of the executable binary of the Python interpreter\nfloat_info -- a named tuple with information about the float implementation.\nfloat_repr_style -- string indicating the style of repr() output for floats\nhash_info -- a named tuple with information about the hash algorithm.\nhexversion -- version information encoded as a single integer\nimplementation -- Python implementation information.\nint_info -- a named tuple with information about the int implementation.\nmaxsize -- the largest supported length of containers.\nmaxunicode -- the value of the largest Unicode code point\nplatform -- platform identifier\nprefix -- prefix used to find the Python library\nthread_info -- a named tuple with information about the thread implementation.\nversion -- the version of this interpreter as a string\nversion_info -- version information as a named tuple\n__stdin__ -- the original stdin; don't touch!\n__stdout__ -- the original stdout; don't touch!\n__stderr__ -- the original stderr; don't touch!\n__displayhook__ -- the original displayhook; don't touch!\n__excepthook__ -- the original excepthook; don't touch!\n\nFunctions:\n\ndisplayhook() -- print an object to the screen, and save it in builtins._\nexcepthook() -- print an exception and its traceback to sys.stderr\nexc_info() -- return thread-safe information about the current exception\nexit() -- exit the interpreter by raising SystemExit\ngetdlopenflags() -- returns flags to be used for dlopen() calls\ngetprofile() -- get the global profiling function\ngetrefcount() -- return the reference count for an object (plus one :-)\ngetrecursionlimit() -- return the max recursion depth for the interpreter\ngetsizeof() -- return the size of an object in bytes\ngettrace() -- get the global debug tracing function\nsetdlopenflags() -- set the flags to be used for dlopen() calls\nsetprofile() -- set the global profiling function\nsetrecursionlimit() -- set the max recursion depth for the interpreter\nsettrace() -- set the global debug tracing function\n")), + ("sys", Some("This module provides access to some objects used or maintained by the\ninterpreter and to functions that interact strongly with the interpreter.\n\nDynamic objects:\n\nargv -- command line arguments; argv[0] is the script pathname if known\npath -- module search path; path[0] is the script directory, else ''\nmodules -- dictionary of loaded modules\n\ndisplayhook -- called to show results in an interactive session\nexcepthook -- called to handle any uncaught exception other than SystemExit\n To customize printing in an interactive session or to install a custom\n top-level exception handler, assign other functions to replace these.\n\nstdin -- standard input file object; used by input()\nstdout -- standard output file object; used by print()\nstderr -- standard error object; used for error messages\n By assigning other file objects (or objects that behave like files)\n to these, it is possible to redirect all of the interpreter's I/O.\n\nlast_type -- type of last uncaught exception\nlast_value -- value of last uncaught exception\nlast_traceback -- traceback of last uncaught exception\n These three are only available in an interactive session after a\n traceback has been printed.\n\nStatic objects:\n\nbuiltin_module_names -- tuple of module names built into this interpreter\ncopyright -- copyright notice pertaining to this interpreter\nexec_prefix -- prefix used to find the machine-specific Python library\nexecutable -- absolute path of the executable binary of the Python interpreter\nfloat_info -- a named tuple with information about the float implementation.\nfloat_repr_style -- string indicating the style of repr() output for floats\nhash_info -- a named tuple with information about the hash algorithm.\nhexversion -- version information encoded as a single integer\nimplementation -- Python implementation information.\nint_info -- a named tuple with information about the int implementation.\nmaxsize -- the largest supported length of containers.\nmaxunicode -- the value of the largest Unicode code point\nplatform -- platform identifier\nprefix -- prefix used to find the Python library\nthread_info -- a named tuple with information about the thread implementation.\nversion -- the version of this interpreter as a string\nversion_info -- version information as a named tuple\n__stdin__ -- the original stdin; don't touch!\n__stdout__ -- the original stdout; don't touch!\n__stderr__ -- the original stderr; don't touch!\n__displayhook__ -- the original displayhook; don't touch!\n__excepthook__ -- the original excepthook; don't touch!\n\nFunctions:\n\ndisplayhook() -- print an object to the screen, and save it in builtins._\nexcepthook() -- print an exception and its traceback to sys.stderr\nexception() -- return the current thread's active exception\nexc_info() -- return information about the current thread's active exception\nexit() -- exit the interpreter by raising SystemExit\ngetdlopenflags() -- returns flags to be used for dlopen() calls\ngetprofile() -- get the global profiling function\ngetrefcount() -- return the reference count for an object (plus one :-)\ngetrecursionlimit() -- return the max recursion depth for the interpreter\ngetsizeof() -- return the size of an object in bytes\ngettrace() -- get the global debug tracing function\nsetdlopenflags() -- set the flags to be used for dlopen() calls\nsetprofile() -- set the global profiling function\nsetrecursionlimit() -- set the max recursion depth for the interpreter\nsettrace() -- set the global debug tracing function\n")), ("sys.__breakpointhook__", Some("breakpointhook(*args, **kws)\n\nThis hook function is called by built-in breakpoint().\n")), ("sys.__displayhook__", Some("Print an object to sys.stdout and also save it in builtins._")), ("sys.__excepthook__", Some("Handle an exception by displaying it with a traceback on sys.stderr.")), @@ -1055,9 +1035,9 @@ ("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._getquickenedcount", None), ("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")), @@ -1065,10 +1045,11 @@ ("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.exception", Some("Return the current exception.\n\nReturn the most recent exception caught by an except clause\nin the current stack frame or in an older stack frame, or None\nif no such exception exists.")), ("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.get_int_max_str_digits", Some("Return 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.")), @@ -1109,7 +1090,6 @@ ("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")), @@ -1123,6 +1103,143 @@ ("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.")), + ("__hello__.TestFrozenUtf8_1", Some("\u{00b6}")), + ("__hello__.TestFrozenUtf8_1.__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")), + ("__hello__.TestFrozenUtf8_1.__new__", Some("Create and return a new object. See help(type) for accurate signature.")), + ("__hello__.TestFrozenUtf8_1.__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")), + ("__hello__.TestFrozenUtf8_2", Some("\u{03c0}")), + ("__hello__.TestFrozenUtf8_2.__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")), + ("__hello__.TestFrozenUtf8_2.__new__", Some("Create and return a new object. See help(type) for accurate signature.")), + ("__hello__.TestFrozenUtf8_2.__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")), + ("__hello__.TestFrozenUtf8_4.__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")), + ("__hello__.TestFrozenUtf8_4.__new__", Some("Create and return a new object. See help(type) for accurate signature.")), + ("__hello__.TestFrozenUtf8_4.__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")), + ("_collections_abc", Some("Abstract Base Classes (ABCs) for collections, according to PEP 3119.\n\nUnit tests are in test_collections.\n")), + ("_sitebuiltins", Some("\nThe objects used by the site module to add custom builtins.\n")), + ("_sitebuiltins.Quitter.__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")), + ("_sitebuiltins.Quitter.__new__", Some("Create and return a new object. See help(type) for accurate signature.")), + ("_sitebuiltins.Quitter.__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")), + ("_sitebuiltins._Helper", Some("Define the builtin 'help'.\n\n This is a wrapper around pydoc.help that provides a helpful message\n when 'help' is typed at the Python interactive prompt.\n\n Calling help() at the Python prompt starts an interactive help session.\n Calling help(thing) prints help for the python object 'thing'.\n ")), + ("_sitebuiltins._Helper.__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")), + ("_sitebuiltins._Helper.__new__", Some("Create and return a new object. See help(type) for accurate signature.")), + ("_sitebuiltins._Helper.__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")), + ("_sitebuiltins._Printer", Some("interactive prompt objects for printing the license text, a list of\n contributors and the copyright notice.")), + ("_sitebuiltins._Printer.__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")), + ("_sitebuiltins._Printer.__new__", Some("Create and return a new object. See help(type) for accurate signature.")), + ("_sitebuiltins._Printer.__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")), + ("abc", Some("Abstract Base Classes (ABCs) according to PEP 3119.")), + ("abc.ABCMeta", Some("Metaclass for defining Abstract Base Classes (ABCs).\n\n Use this metaclass to create an ABC. An ABC can be subclassed\n directly, and then acts as a mix-in class. You can also register\n unrelated concrete classes (even built-in classes) and unrelated\n ABCs as 'virtual subclasses' -- these and their descendants will\n be considered subclasses of the registering ABC by the built-in\n issubclass() function, but the registering ABC won't show up in\n their MRO (Method Resolution Order) nor will method\n implementations defined by the registering ABC be callable (not\n even via super()).\n ")), + ("abc.ABCMeta.__base__", Some("type(object) -> the object's type\ntype(name, bases, dict, **kwds) -> a new type")), + ("abc.ABCMeta.__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")), + ("abc.ABCMeta.__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")), + ("abc.ABCMeta.__base__.__base__.__new__", Some("Create and return a new object. See help(type) for accurate signature.")), + ("abc.ABCMeta.__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")), + ("abc.ABCMeta.__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")), + ("abc.ABCMeta.__base__.__new__", Some("Create and return a new object. See help(type) for accurate signature.")), + ("abc.ABCMeta.__base__.__prepare__", Some("__prepare__() -> dict\nused to create the namespace for the class statement")), + ("abc.ABCMeta.__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")), + ("abc.ABCMeta.__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")), + ("abc.ABCMeta.__prepare__", Some("__prepare__() -> dict\nused to create the namespace for the class statement")), + ("abc.ABCMeta.__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")), + ("abc.abstractclassmethod", Some("A decorator indicating abstract classmethods.\n\n Deprecated, use 'classmethod' with 'abstractmethod' instead:\n\n class C(ABC):\n @classmethod\n @abstractmethod\n def my_abstract_classmethod(cls, ...):\n ...\n\n ")), + ("abc.abstractclassmethod.__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")), + ("abc.abstractclassmethod.__new__", Some("Create and return a new object. See help(type) for accurate signature.")), + ("abc.abstractclassmethod.__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")), + ("abc.abstractproperty", Some("A decorator indicating abstract properties.\n\n Deprecated, use 'property' with 'abstractmethod' instead:\n\n class C(ABC):\n @property\n @abstractmethod\n def my_abstract_property(self):\n ...\n\n ")), + ("abc.abstractproperty.__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")), + ("abc.abstractproperty.__new__", Some("Create and return a new object. See help(type) for accurate signature.")), + ("abc.abstractproperty.__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")), + ("abc.abstractstaticmethod", Some("A decorator indicating abstract staticmethods.\n\n Deprecated, use 'staticmethod' with 'abstractmethod' instead:\n\n class C(ABC):\n @staticmethod\n @abstractmethod\n def my_abstract_staticmethod(...):\n ...\n\n ")), + ("abc.abstractstaticmethod.__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")), + ("abc.abstractstaticmethod.__new__", Some("Create and return a new object. See help(type) for accurate signature.")), + ("abc.abstractstaticmethod.__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", Some(" codecs -- Python Codec Registry, API and helpers.\n\n\nWritten by Marc-Andre Lemburg (mal@lemburg.com).\n\n(c) Copyright CNRI, All Rights Reserved. NO WARRANTY.\n\n")), + ("codecs.BufferedIncrementalDecoder", Some("\n This subclass of IncrementalDecoder can be used as the baseclass for an\n incremental decoder if the decoder must be able to handle incomplete\n byte sequences.\n ")), + ("codecs.BufferedIncrementalDecoder.__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")), + ("codecs.BufferedIncrementalDecoder.__new__", Some("Create and return a new object. See help(type) for accurate signature.")), + ("codecs.BufferedIncrementalDecoder.__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.BufferedIncrementalEncoder", Some("\n This subclass of IncrementalEncoder can be used as the baseclass for an\n incremental encoder if the encoder must keep some of the output in a\n buffer between calls to encode().\n ")), + ("codecs.BufferedIncrementalEncoder.__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")), + ("codecs.BufferedIncrementalEncoder.__new__", Some("Create and return a new object. See help(type) for accurate signature.")), + ("codecs.BufferedIncrementalEncoder.__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.Codec", Some(" Defines the interface for stateless encoders/decoders.\n\n The .encode()/.decode() methods may use different error\n handling schemes by providing the errors argument. These\n string values are predefined:\n\n 'strict' - raise a ValueError error (or a subclass)\n 'ignore' - ignore the character and continue with the next\n 'replace' - replace with a suitable replacement character;\n Python will use the official U+FFFD REPLACEMENT\n CHARACTER for the builtin Unicode codecs on\n decoding and '?' on encoding.\n 'surrogateescape' - replace with private code points U+DCnn.\n 'xmlcharrefreplace' - Replace with the appropriate XML\n character reference (only for encoding).\n 'backslashreplace' - Replace with backslashed escape sequences.\n 'namereplace' - Replace with \\N{...} escape sequences\n (only for encoding).\n\n The set of allowed values can be extended via register_error.\n\n ")), + ("codecs.Codec.__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")), + ("codecs.Codec.__new__", Some("Create and return a new object. See help(type) for accurate signature.")), + ("codecs.Codec.__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.CodecInfo", Some("Codec details when looking up the codec registry")), + ("codecs.CodecInfo.__class_getitem__", Some("See PEP 585")), + ("codecs.CodecInfo.__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")), + ("codecs.CodecInfo.__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.IncrementalDecoder", Some("\n An IncrementalDecoder decodes an input in multiple steps. The input can\n be passed piece by piece to the decode() method. The IncrementalDecoder\n remembers the state of the decoding process between calls to decode().\n ")), + ("codecs.IncrementalDecoder.__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")), + ("codecs.IncrementalDecoder.__new__", Some("Create and return a new object. See help(type) for accurate signature.")), + ("codecs.IncrementalDecoder.__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.IncrementalEncoder", Some("\n An IncrementalEncoder encodes an input in multiple steps. The input can\n be passed piece by piece to the encode() method. The IncrementalEncoder\n remembers the state of the encoding process between calls to encode().\n ")), + ("codecs.IncrementalEncoder.__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")), + ("codecs.IncrementalEncoder.__new__", Some("Create and return a new object. See help(type) for accurate signature.")), + ("codecs.IncrementalEncoder.__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.StreamReader.__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")), + ("codecs.StreamReader.__new__", Some("Create and return a new object. See help(type) for accurate signature.")), + ("codecs.StreamReader.__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.StreamReader.charbuffertype", Some("str(object='') -> str\nstr(bytes_or_buffer[, encoding[, errors]]) -> str\n\nCreate a new string object from the given object. If encoding or\nerrors is specified, then the object must expose a data buffer\nthat will be decoded using the given encoding and error handler.\nOtherwise, returns the result of object.__str__() (if defined)\nor repr(object).\nencoding defaults to sys.getdefaultencoding().\nerrors defaults to 'strict'.")), + ("codecs.StreamReader.charbuffertype.__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")), + ("codecs.StreamReader.charbuffertype.__new__", Some("Create and return a new object. See help(type) for accurate signature.")), + ("codecs.StreamReader.charbuffertype.__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.StreamReader.charbuffertype.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.")), + ("codecs.StreamReaderWriter", Some(" StreamReaderWriter instances allow wrapping streams which\n work in both read and write modes.\n\n The design is such that one can use the factory functions\n returned by the codec.lookup() function to construct the\n instance.\n\n ")), + ("codecs.StreamReaderWriter.__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")), + ("codecs.StreamReaderWriter.__new__", Some("Create and return a new object. See help(type) for accurate signature.")), + ("codecs.StreamReaderWriter.__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.StreamRecoder", Some(" StreamRecoder instances translate data from one encoding to another.\n\n They use the complete set of APIs returned by the\n codecs.lookup() function to implement their task.\n\n Data written to the StreamRecoder is first decoded into an\n intermediate format (depending on the \"decode\" codec) and then\n written to the underlying stream using an instance of the provided\n Writer class.\n\n In the other direction, data is read from the underlying stream using\n a Reader instance and then encoded and returned to the caller.\n\n ")), + ("codecs.StreamRecoder.__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")), + ("codecs.StreamRecoder.__new__", Some("Create and return a new object. See help(type) for accurate signature.")), + ("codecs.StreamRecoder.__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.StreamWriter.__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")), + ("codecs.StreamWriter.__new__", Some("Create and return a new object. See help(type) for accurate signature.")), + ("codecs.StreamWriter.__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")), + ("genericpath", Some("\nPath operations common to more than one OS\nDo not use directly. The OS specific modules import the appropriate\nfunctions from this module themselves.\n")), + ("io", Some("The io module provides the Python interfaces to stream handling. The\nbuiltin open function is defined in this module.\n\nAt the top of the I/O hierarchy is the abstract base class IOBase. It\ndefines the basic interface to a stream. Note, however, that there is no\nseparation between reading and writing to streams; implementations are\nallowed to raise an OSError if they do not support a given operation.\n\nExtending IOBase is RawIOBase which deals simply with the reading and\nwriting of raw bytes to a stream. FileIO subclasses RawIOBase to provide\nan interface to OS files.\n\nBufferedIOBase deals with buffering on a raw byte stream (RawIOBase). Its\nsubclasses, BufferedWriter, BufferedReader, and BufferedRWPair buffer\nstreams that are readable, writable, and both respectively.\nBufferedRandom provides a buffered interface to random access\nstreams. BytesIO is a simple stream of in-memory bytes.\n\nAnother IOBase subclass, TextIOBase, deals with the encoding and decoding\nof streams into text. TextIOWrapper, which extends it, is a buffered text\ninterface to a buffered raw stream (`BufferedIOBase`). Finally, StringIO\nis an in-memory stream for text.\n\nArgument names are not part of the specification, and only the arguments\nof open() are intended to be used as keyword arguments.\n\ndata:\n\nDEFAULT_BUFFER_SIZE\n\n An int containing the default buffer size used by the module's buffered\n I/O classes. open() uses the file's blksize (as obtained by os.stat) if\n possible.\n")), + ("io.UnsupportedOperation.__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")), + ("io.UnsupportedOperation.__new__", Some("Create and return a new object. See help(type) for accurate signature.")), + ("io.UnsupportedOperation.__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")), + ("io.open", Some("Open file and return a stream. Raise OSError upon failure.\n\nfile is either a text or byte string giving the name (and the path\nif the file isn't in the current working directory) of the file to\nbe opened or an integer file descriptor of the file to be\nwrapped. (If a file descriptor is given, it is closed when the\nreturned I/O object is closed, unless closefd is set to False.)\n\nmode is an optional string that specifies the mode in which the file\nis opened. It defaults to 'r' which means open for reading in text\nmode. Other common values are 'w' for writing (truncating the file if\nit already exists), 'x' for creating and writing to a new file, and\n'a' for appending (which on some Unix systems, means that all writes\nappend to the end of the file regardless of the current seek position).\nIn text mode, if encoding is not specified the encoding used is platform\ndependent: locale.getencoding() is called to get the current locale encoding.\n(For reading and writing raw bytes use binary mode and leave encoding\nunspecified.) The available modes are:\n\n========= ===============================================================\nCharacter Meaning\n--------- ---------------------------------------------------------------\n'r' open for reading (default)\n'w' open for writing, truncating the file first\n'x' create a new file and open it for writing\n'a' open for writing, appending to the end of the file if it exists\n'b' binary mode\n't' text mode (default)\n'+' open a disk file for updating (reading and writing)\n========= ===============================================================\n\nThe default mode is 'rt' (open for reading text). For binary random\naccess, the mode 'w+b' opens and truncates the file to 0 bytes, while\n'r+b' opens the file without truncation. The 'x' mode implies 'w' and\nraises an `FileExistsError` if the file already exists.\n\nPython distinguishes between files opened in binary and text modes,\neven when the underlying operating system doesn't. Files opened in\nbinary mode (appending 'b' to the mode argument) return contents as\nbytes objects without any decoding. In text mode (the default, or when\n't' is appended to the mode argument), the contents of the file are\nreturned as strings, the bytes having been first decoded using a\nplatform-dependent encoding or using the specified encoding if given.\n\nbuffering is an optional integer used to set the buffering policy.\nPass 0 to switch buffering off (only allowed in binary mode), 1 to select\nline buffering (only usable in text mode), and an integer > 1 to indicate\nthe size of a fixed-size chunk buffer. When no buffering argument is\ngiven, the default buffering policy works as follows:\n\n* Binary files are buffered in fixed-size chunks; the size of the buffer\n is chosen using a heuristic trying to determine the underlying device's\n \"block size\" and falling back on `io.DEFAULT_BUFFER_SIZE`.\n On many systems, the buffer will typically be 4096 or 8192 bytes long.\n\n* \"Interactive\" text files (files for which isatty() returns True)\n use line buffering. Other text files use the policy described above\n for binary files.\n\nencoding is the name of the encoding used to decode or encode the\nfile. This should only be used in text mode. The default encoding is\nplatform dependent, but any encoding supported by Python can be\npassed. See the codecs module for the list of supported encodings.\n\nerrors is an optional string that specifies how encoding errors are to\nbe handled---this argument should not be used in binary mode. Pass\n'strict' to raise a ValueError exception if there is an encoding error\n(the default of None has the same effect), or pass 'ignore' to ignore\nerrors. (Note that ignoring encoding errors can lead to data loss.)\nSee the documentation for codecs.register or run 'help(codecs.Codec)'\nfor a list of the permitted encoding error strings.\n\nnewline controls how universal newlines works (it only applies to text\nmode). It can be None, '', '\\n', '\\r', and '\\r\\n'. It works as\nfollows:\n\n* On input, if newline is None, universal newlines mode is\n enabled. Lines in the input can end in '\\n', '\\r', or '\\r\\n', and\n these are translated into '\\n' before being returned to the\n caller. If it is '', universal newline mode is enabled, but line\n endings are returned to the caller untranslated. If it has any of\n the other legal values, input lines are only terminated by the given\n string, and the line ending is returned to the caller untranslated.\n\n* On output, if newline is None, any '\\n' characters written are\n translated to the system default line separator, os.linesep. If\n newline is '' or '\\n', no translation takes place. If newline is any\n of the other legal values, any '\\n' characters written are translated\n to the given string.\n\nIf closefd is False, the underlying file descriptor will be kept open\nwhen the file is closed. This does not work when a file name is given\nand must be True in that case.\n\nA custom opener can be used by passing a callable as *opener*. The\nunderlying file descriptor for the file object is then obtained by\ncalling *opener* with (*file*, *flags*). *opener* must return an open\nfile descriptor (passing os.open as *opener* results in functionality\nsimilar to passing None).\n\nopen() returns a file object whose type depends on the mode, and\nthrough which the standard file operations such as reading and writing\nare performed. When open() is used to open a file in a text mode ('w',\n'r', 'wt', 'rt', etc.), it returns a TextIOWrapper. When used to open\na file in a binary mode, the returned class varies: in read binary\nmode, it returns a BufferedReader; in write binary and append binary\nmodes, it returns a BufferedWriter, and in read/write mode, it returns\na BufferedRandom.\n\nIt is also possible to use a string or bytearray as a file for both\nreading and writing. For strings StringIO can be used like a file\nopened in a text mode, and for bytes a BytesIO can be used like a file\nopened in a binary mode.")), + ("io.open_code", Some("Opens the provided file with the intent to import the contents.\n\nThis may perform extra validation beyond open(), but is otherwise interchangeable\nwith calling open(path, 'rb').")), + ("io.text_encoding", Some("A helper function to choose the text encoding.\n\nWhen encoding is not None, this function returns it.\nOtherwise, this function returns the default text encoding\n(i.e. \"locale\" or \"utf-8\" depends on UTF-8 mode).\n\nThis function emits an EncodingWarning if encoding is None and\nsys.flags.warn_default_encoding is true.\n\nThis can be used in APIs with an encoding=None parameter.\nHowever, please consider using encoding=\"utf-8\" for new APIs.")), + ("ntpath", Some("Common pathname manipulations, WindowsNT/95 version.\n\nInstead of importing this module directly, import os and refer to this\nmodule as os.path.\n")), + ("os", Some("OS routines for NT or Posix depending on what system we're on.\n\nThis exports:\n - all functions from posix or nt, e.g. unlink, stat, etc.\n - os.path is either posixpath or ntpath\n - os.name is either 'posix' or 'nt'\n - os.curdir is a string representing the current directory (always '.')\n - os.pardir is a string representing the parent directory (always '..')\n - os.sep is the (or a most common) pathname separator ('/' or '\\\\')\n - os.extsep is the extension separator (always '.')\n - os.altsep is the alternate pathname separator (None or '/')\n - os.pathsep is the component separator used in $PATH etc\n - os.linesep is the line separator in text files ('\\r' or '\\n' or '\\r\\n')\n - os.defpath is the default search path for executables\n - os.devnull is the file path of the null device ('/dev/null', etc.)\n\nPrograms that import and use 'os' stand a better chance of being\nportable between different platforms. Of course, they must then\nonly use functions that are defined by all platforms (e.g., unlink\nand opendir), and leave all pathname manipulation to os.path\n(e.g., split and join).\n")), + ("os._wrap_close.__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")), + ("os._wrap_close.__new__", Some("Create and return a new object. See help(type) for accurate signature.")), + ("os._wrap_close.__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")), + ("os.stat_result", Some("stat_result: Result from stat, fstat, or lstat.\n\nThis object may be accessed either as a tuple of\n (mode, ino, dev, nlink, uid, gid, size, atime, mtime, ctime)\nor via the attributes st_mode, st_ino, st_dev, st_nlink, st_uid, and so on.\n\nPosix/windows: If your platform supports st_blksize, st_blocks, st_rdev,\nor st_flags, they are available as attributes only.\n\nSee os.stat for more information.")), + ("os.stat_result.__class_getitem__", Some("See PEP 585")), + ("os.stat_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")), + ("os.stat_result.__new__", Some("Create and return a new object. See help(type) for accurate signature.")), + ("os.stat_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")), + ("os.statvfs_result", Some("statvfs_result: Result from statvfs or fstatvfs.\n\nThis object may be accessed either as a tuple of\n (bsize, frsize, blocks, bfree, bavail, files, ffree, favail, flag, namemax),\nor via the attributes f_bsize, f_frsize, f_blocks, f_bfree, and so on.\n\nSee os.statvfs for more information.")), + ("os.statvfs_result.__class_getitem__", Some("See PEP 585")), + ("os.statvfs_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")), + ("os.statvfs_result.__new__", Some("Create and return a new object. See help(type) for accurate signature.")), + ("os.statvfs_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")), + ("os.terminal_size", Some("A tuple of (columns, lines) for holding terminal window size")), + ("os.terminal_size.__class_getitem__", Some("See PEP 585")), + ("os.terminal_size.__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")), + ("os.terminal_size.__new__", Some("Create and return a new object. See help(type) for accurate signature.")), + ("os.terminal_size.__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")), + ("posixpath", Some("Common operations on Posix pathnames.\n\nInstead of importing this module directly, import os and refer to\nthis module as os.path. The \"os.path\" name is an alias for this\nmodule on Posix systems; on other systems (e.g. Windows),\nos.path provides the same operations in a manner specific to that\nplatform, and is an alias to another module (e.g. ntpath).\n\nSome of this can actually be useful on non-Posix systems too, e.g.\nfor manipulation of the pathname component of URLs.\n")), + ("runpy", Some("runpy.py - locating and running Python code using the module namespace\n\nProvides support for locating and running Python scripts using the Python\nmodule namespace instead of the native filesystem.\n\nThis allows Python code to play nicely with non-filesystem based PEP 302\nimporters when locating support scripts as well as when importing modules.\n")), + ("runpy._Error", Some("Error that _run_module_as_main() should report without a traceback")), + ("runpy._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")), + ("runpy._Error.__new__", Some("Create and return a new object. See help(type) for accurate signature.")), + ("runpy._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")), + ("runpy._ModifiedArgv0.__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")), + ("runpy._ModifiedArgv0.__new__", Some("Create and return a new object. See help(type) for accurate signature.")), + ("runpy._ModifiedArgv0.__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")), + ("runpy._TempModule", Some("Temporarily replace a module in sys.modules with an empty namespace")), + ("runpy._TempModule.__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")), + ("runpy._TempModule.__new__", Some("Create and return a new object. See help(type) for accurate signature.")), + ("runpy._TempModule.__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")), + ("site", Some("Append module search paths for third-party packages to sys.path.\n\n****************************************************************\n* This module is automatically imported during initialization. *\n****************************************************************\n\nThis will append site-specific paths to the module search path. On\nUnix (including Mac OSX), it starts with sys.prefix and\nsys.exec_prefix (if different) and appends\nlib/python/site-packages.\nOn other platforms (such as Windows), it tries each of the\nprefixes directly, as well as with lib/site-packages appended. The\nresulting directories, if they exist, are appended to sys.path, and\nalso inspected for path configuration files.\n\nIf a file named \"pyvenv.cfg\" exists one directory above sys.executable,\nsys.prefix and sys.exec_prefix are set to that directory and\nit is also checked for site-packages (sys.base_prefix and\nsys.base_exec_prefix will always be the \"real\" prefixes of the Python\ninstallation). If \"pyvenv.cfg\" (a bootstrap configuration file) contains\nthe key \"include-system-site-packages\" set to anything other than \"false\"\n(case-insensitive), the system-level prefixes will still also be\nsearched for site-packages; otherwise they won't.\n\nAll of the resulting site-specific directories, if they exist, are\nappended to sys.path, and also inspected for path configuration\nfiles.\n\nA path configuration file is a file whose name has the form\n.pth; its contents are additional directories (one per line)\nto be added to sys.path. Non-existing directories (or\nnon-directories) are never added to sys.path; no directory is added to\nsys.path more than once. Blank lines and lines beginning with\n'#' are skipped. Lines starting with 'import' are executed.\n\nFor example, suppose sys.prefix and sys.exec_prefix are set to\n/usr/local and there is a directory /usr/local/lib/python2.5/site-packages\nwith three subdirectories, foo, bar and spam, and two path\nconfiguration files, foo.pth and bar.pth. Assume foo.pth contains the\nfollowing:\n\n # foo package configuration\n foo\n bar\n bletch\n\nand bar.pth contains:\n\n # bar package configuration\n bar\n\nThen the following directories are added to sys.path, in this order:\n\n /usr/local/lib/python2.5/site-packages/bar\n /usr/local/lib/python2.5/site-packages/foo\n\nNote that bletch is omitted because it doesn't exist; bar precedes foo\nbecause bar.pth comes alphabetically before foo.pth; and spam is\nomitted because it is not mentioned in either path configuration file.\n\nThe readline module is also automatically configured to enable\ncompletion for systems that support it. This can be overridden in\nsitecustomize, usercustomize or PYTHONSTARTUP. Starting Python in\nisolated mode (-I) disables automatic readline configuration.\n\nAfter these operations, an attempt is made to import a module\nnamed sitecustomize, which can perform arbitrary additional\nsite-specific customizations. If this import fails with an\nImportError exception, it is silently ignored.\n")), + ("stat", Some("Constants/functions for interpreting results of os.stat() and os.lstat().\n\nSuggested usage: from stat import *\n")), ("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.")), @@ -1156,6 +1273,15 @@ ("_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.")), @@ -1193,14 +1319,39 @@ ("_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()")), + ("_csv.field_size_limit", Some("Sets an upper limit on parsed fields.\n\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\n dialect = csv.get_dialect(name)")), + ("_csv.list_dialects", Some("Return a list of all known dialect names.\n\n names = csv.list_dialects()")), ("_csv.reader", Some(" csv_reader = reader(iterable [, dialect='excel']\n [optional keyword args])\n for row in csv_reader:\n process(row)\n\nThe \"iterable\" argument can be any object that returns a line\nof input for each iteration, such as a file object or a list. The\noptional \"dialect\" parameter is discussed below. The function\nalso accepts optional keyword arguments which override settings\nprovided by the dialect.\n\nThe returned object is an iterator. Each iteration returns a row\nof the CSV file (which can span multiple input lines).\n")), ("_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.unregister_dialect", Some("Delete the name/dialect mapping associated with a string name.\n\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")), ("_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")), ("_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")), @@ -1258,6 +1409,10 @@ ("_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.")), + ("_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.")), ("_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.")), @@ -1265,6 +1420,7 @@ ("_multiprocessing.SemLock._rebuild", None), ("_multiprocessing.sem_unlink", None), ("_opcode", Some("Opcode support module.")), + ("_opcode.get_specialization_stats", Some("Return the specialization stats")), ("_opcode.stack_effect", Some("Compute the stack effect of the opcode.")), ("_pickle", Some("Optimized C implementation for the Python pickle module.")), ("_pickle.PickleError.__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")), @@ -1289,7 +1445,7 @@ ("_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.")), ("_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")), + ("_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, pgid_to_set,\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.")), ("_queue.Empty", Some("Exception raised by Queue.get(block=0)/get_nowait().")), ("_queue.Empty.__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")), @@ -1305,6 +1461,49 @@ ("_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.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.")), @@ -1342,6 +1541,13 @@ ("_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 given object to given protocol.")), + ("_sqlite3.complete_statement", Some("Checks if a string contains a complete SQL statement.")), + ("_sqlite3.connect", Some("Opens a connection to the SQLite database file database.\n\nYou can use \":memory:\" to open a database connection to a database that resides\nin RAM instead of on disk.")), + ("_sqlite3.enable_callback_tracebacks", Some("Enable or disable callback functions throwing errors to stderr.")), + ("_sqlite3.enable_shared_cache", Some("Enable or disable shared cache mode for the calling thread.\n\nThis method is deprecated and will be removed in Python 3.12.\nShared cache is strongly discouraged by the SQLite 3 documentation.\nIf shared cache must be used, open the database in URI mode using\nthe cache=shared query parameter.")), + ("_sqlite3.register_adapter", Some("Register a function to adapt Python objects to SQLite values.")), + ("_sqlite3.register_converter", Some("Register a function to convert SQLite values to Python objects.")), ("_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.")), @@ -1380,6 +1586,8 @@ ("_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.")), + ("_typing", Some("Accelerators for the typing module.\n")), + ("_typing._idfunc", None), ("_uuid.generate_time_safe", None), ("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")), @@ -1398,21 +1606,17 @@ ("binascii.Incomplete.__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.Incomplete.__new__", Some("Create and return a new object. See help(type) for accurate signature.")), ("binascii.Incomplete.__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")), - ("binascii.a2b_base64", Some("Decode a line of base64 data.")), + ("binascii.a2b_base64", Some("Decode a line of base64 data.\n\n strict_mode\n When set to True, bytes that are not part of the base64 standard are not allowed.\n The same applies to excess data after padding (= / ==).")), ("binascii.a2b_hex", Some("Binary data of hexadecimal representation.\n\nhexstr must contain an even number of hex digits (upper or lower case).\nThis function is also available as \"unhexlify()\".")), - ("binascii.a2b_hqx", Some("Decode .hqx coding.")), ("binascii.a2b_qp", Some("Decode a string of qp-encoded data.")), ("binascii.a2b_uu", Some("Decode a line of uuencoded data.")), ("binascii.b2a_base64", Some("Base64-code line of data.")), ("binascii.b2a_hex", Some("Hexadecimal representation of binary data.\n\n sep\n An optional single character or byte to separate hex bytes.\n bytes_per_sep\n How many bytes between separators. Positive values count from the\n right, negative values count from the left.\n\nThe return value is a bytes object. This function is also\navailable as \"hexlify()\".\n\nExample:\n>>> binascii.b2a_hex(b'\\xb9\\x01\\xef')\nb'b901ef'\n>>> binascii.hexlify(b'\\xb9\\x01\\xef', ':')\nb'b9:01:ef'\n>>> binascii.b2a_hex(b'\\xb9\\x01\\xef', b'_', 2)\nb'b9_01ef'")), - ("binascii.b2a_hqx", Some("Encode .hqx data.")), ("binascii.b2a_qp", Some("Encode a string using quoted-printable encoding.\n\nOn encoding, when istext is set, newlines are not encoded, and white\nspace at end of lines is. When istext is not set, \\r and \\n (CR/LF)\nare both encoded. When quotetabs is set, space and tabs are encoded.")), ("binascii.b2a_uu", Some("Uuencode line of data.")), ("binascii.crc32", Some("Compute CRC-32 incrementally.")), ("binascii.crc_hqx", Some("Compute CRC-CCITT incrementally.")), ("binascii.hexlify", Some("Hexadecimal representation of binary data.\n\n sep\n An optional single character or byte to separate hex bytes.\n bytes_per_sep\n How many bytes between separators. Positive values count from the\n right, negative values count from the left.\n\nThe return value is a bytes object. This function is also\navailable as \"b2a_hex()\".")), - ("binascii.rlecode_hqx", Some("Binhex RLE-code binary data.")), - ("binascii.rledecode_hqx", Some("Decode hexbin RLE-coded string.")), ("binascii.unhexlify", Some("Binary data of hexadecimal representation.\n\nhexstr must contain an even number of hex digits (upper or lower case).")), ("cmath", Some("This module provides access to mathematical functions for complex\nnumbers.")), ("cmath.acos", Some("Return the arc cosine of z.")), @@ -1428,7 +1632,7 @@ ("cmath.isfinite", Some("Return True if both the real and imaginary parts of z are finite, else False.")), ("cmath.isinf", Some("Checks if the real or imaginary part of z is infinite.")), ("cmath.isnan", Some("Checks if the real or imaginary part of z not a number (NaN).")), - ("cmath.log", Some("log(z[, base]) -> the logarithm of z to the given base.\n\nIf the base not specified, returns the natural logarithm (base e) of z.")), + ("cmath.log", Some("log(z[, base]) -> the logarithm of z to the given base.\n\nIf the base is not specified, returns the natural logarithm (base e) of z.")), ("cmath.log10", Some("Return the base-10 logarithm of z.")), ("cmath.phase", Some("Return argument, also known as the phase angle, of a complex.")), ("cmath.polar", Some("Convert a complex from rectangular coordinates to polar coordinates.\n\nr is the distance from 0 and phi the phase angle.")), @@ -1460,6 +1664,7 @@ ("math.atan", Some("Return the arc tangent (measured in radians) of x.\n\nThe result is between -pi/2 and pi/2.")), ("math.atan2", Some("Return the arc tangent (measured in radians) of y/x.\n\nUnlike atan(y/x), the signs of both x and y are considered.")), ("math.atanh", Some("Return the inverse hyperbolic tangent of x.")), + ("math.cbrt", Some("Return the cube root of x.")), ("math.ceil", Some("Return the ceiling of x as an Integral.\n\nThis is the smallest integer >= x.")), ("math.comb", Some("Number of ways to choose k items from n items without repetition and without order.\n\nEvaluates to n! / (k! * (n - k)!) when k <= n and evaluates\nto zero when k > n.\n\nAlso called the binomial coefficient because it is equivalent\nto the coefficient of k-th term in polynomial expansion of the\nexpression (1 + x)**n.\n\nRaises TypeError if either of the arguments are not integers.\nRaises ValueError if either of the arguments are negative.")), ("math.copysign", Some("Return a float with the magnitude (absolute value) of x but the sign of y.\n\nOn platforms that support signed zeros, copysign(1.0, -0.0)\nreturns -1.0.\n")), @@ -1470,9 +1675,10 @@ ("math.erf", Some("Error function at x.")), ("math.erfc", Some("Complementary error function at x.")), ("math.exp", Some("Return e raised to the power of x.")), + ("math.exp2", Some("Return 2 raised to the power of x.")), ("math.expm1", Some("Return exp(x)-1.\n\nThis function avoids the loss of precision involved in the direct evaluation of exp(x)-1 for small x.")), ("math.fabs", Some("Return the absolute value of the float x.")), - ("math.factorial", Some("Find x!.\n\nRaise a ValueError if x is negative or non-integral.")), + ("math.factorial", Some("Find n!.\n\nRaise a ValueError if x is negative or non-integral.")), ("math.floor", Some("Return the floor of x as an Integral.\n\nThis is the largest integer <= x.")), ("math.fmod", Some("Return fmod(x, y), according to platform C.\n\nx % y may differ.")), ("math.frexp", Some("Return the mantissa and exponent of x, as pair (m, e).\n\nm is a float and e is an int, such that x = m * 2.**e.\nIf x is 0, m and e are both 0. Else 0.5 <= abs(m) < 1.0.")), @@ -1520,7 +1726,6 @@ ("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")), @@ -1528,11 +1733,15 @@ ("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.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.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.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), @@ -1549,9 +1758,11 @@ ("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.tcgetwinsize", Some("Get the tty winsize for file descriptor fd.\n\nReturns a tuple (ws_row, ws_col).")), ("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.")), + ("termios.tcsetwinsize", Some("Set the tty winsize for file descriptor fd.\n\nThe winsize to be set is taken from the winsize argument, which\nis a two-item tuple (ws_row, ws_col) like the one returned by tcgetwinsize().")), + ("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\n14.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 14.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.")), ("unicodedata.UCD.__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")), @@ -1570,7 +1781,7 @@ ("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.")), ("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.")), + ("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.\n wbits\n The window buffer size and container format.")), ("zlib.compressobj", Some("Return a compressor object.\n\n level\n The compression level (an integer in the range 0-9 or -1; default is\n currently equivalent to 6). Higher compression levels are slower,\n but produce smaller results.\n method\n The compression algorithm. If given, this must be DEFLATED.\n wbits\n +9 to +15: The base-two logarithm of the window size. Include a zlib\n container.\n -9 to -15: Generate a raw stream.\n +25 to +31: Include a gzip container.\n memLevel\n Controls the amount of memory used for internal compression state.\n Valid values range from 1 to 9. Higher values result in higher memory\n usage, faster compression, and smaller output.\n strategy\n Used to tune the compression algorithm. Possible values are\n Z_DEFAULT_STRATEGY, Z_FILTERED, and Z_HUFFMAN_ONLY.\n zdict\n The predefined compression dictionary - a sequence of bytes\n containing subsequences that are likely to occur in the input data.")), ("zlib.crc32", Some("Compute a CRC-32 checksum of data.\n\n value\n Starting value of the checksum.\n\nThe returned checksum is an integer.")), ("zlib.decompress", Some("Returns a bytes object containing the uncompressed data.\n\n data\n Compressed data.\n wbits\n The window buffer size and container format.\n bufsize\n The initial output buffer size.")), @@ -1618,10 +1829,10 @@ ("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.str_ascii_iterator", None), + ("builtins.str_ascii_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_ascii_iterator.__new__", Some("Create and return a new object. See help(type) for accurate signature.")), + ("builtins.str_ascii_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.")), From d874bad014ded8092a5d9aa8a411444f6949c93b Mon Sep 17 00:00:00 2001 From: Jeong YunWon Date: Wed, 30 Aug 2023 22:05:54 +0900 Subject: [PATCH 6/8] 0.3.0 --- Cargo.lock | 6 +++--- Cargo.toml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0693a37..2142da3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,13 +4,13 @@ version = 3 [[package]] name = "once_cell" -version = "1.10.0" +version = "1.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87f3e037eac156d1775da914196f0f37741a274155e34a0b7e427c35d2a2ecb9" +checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d" [[package]] name = "rustpython-doc" -version = "0.1.0" +version = "0.3.0" dependencies = [ "once_cell", ] diff --git a/Cargo.toml b/Cargo.toml index 04d8033..53435a2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "rustpython-doc" -version = "0.1.0" +version = "0.3.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -once_cell = "1.10.0" \ No newline at end of file +once_cell = "1.13" From 8b62ce5d796d68a091969c9fa5406276cb483f79 Mon Sep 17 00:00:00 2001 From: Jeong YunWon Date: Wed, 30 Aug 2023 22:14:30 +0900 Subject: [PATCH 7/8] license --- Cargo.toml | 3 + LICENSE | 279 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 282 insertions(+) create mode 100644 LICENSE diff --git a/Cargo.toml b/Cargo.toml index 53435a2..6b53769 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,10 @@ [package] name = "rustpython-doc" +description = "Python __doc__ database." version = "0.3.0" +authors = ["RustPython Team"] edition = "2021" +license-file = "LICENSE" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..f26bcf4 --- /dev/null +++ b/LICENSE @@ -0,0 +1,279 @@ +A. HISTORY OF THE SOFTWARE +========================== + +Python was created in the early 1990s by Guido van Rossum at Stichting +Mathematisch Centrum (CWI, see https://www.cwi.nl) in the Netherlands +as a successor of a language called ABC. Guido remains Python's +principal author, although it includes many contributions from others. + +In 1995, Guido continued his work on Python at the Corporation for +National Research Initiatives (CNRI, see https://www.cnri.reston.va.us) +in Reston, Virginia where he released several versions of the +software. + +In May 2000, Guido and the Python core development team moved to +BeOpen.com to form the BeOpen PythonLabs team. In October of the same +year, the PythonLabs team moved to Digital Creations, which became +Zope Corporation. In 2001, the Python Software Foundation (PSF, see +https://www.python.org/psf/) was formed, a non-profit organization +created specifically to own Python-related Intellectual Property. +Zope Corporation was a sponsoring member of the PSF. + +All Python releases are Open Source (see https://opensource.org for +the Open Source Definition). Historically, most, but not all, Python +releases have also been GPL-compatible; the table below summarizes +the various releases. + + Release Derived Year Owner GPL- + from compatible? (1) + + 0.9.0 thru 1.2 1991-1995 CWI yes + 1.3 thru 1.5.2 1.2 1995-1999 CNRI yes + 1.6 1.5.2 2000 CNRI no + 2.0 1.6 2000 BeOpen.com no + 1.6.1 1.6 2001 CNRI yes (2) + 2.1 2.0+1.6.1 2001 PSF no + 2.0.1 2.0+1.6.1 2001 PSF yes + 2.1.1 2.1+2.0.1 2001 PSF yes + 2.1.2 2.1.1 2002 PSF yes + 2.1.3 2.1.2 2002 PSF yes + 2.2 and above 2.1.1 2001-now PSF yes + +Footnotes: + +(1) GPL-compatible doesn't mean that we're distributing Python under + the GPL. All Python licenses, unlike the GPL, let you distribute + a modified version without making your changes open source. The + GPL-compatible licenses make it possible to combine Python with + other software that is released under the GPL; the others don't. + +(2) According to Richard Stallman, 1.6.1 is not GPL-compatible, + because its license has a choice of law clause. According to + CNRI, however, Stallman's lawyer has told CNRI's lawyer that 1.6.1 + is "not incompatible" with the GPL. + +Thanks to the many outside volunteers who have worked under Guido's +direction to make these releases possible. + + +B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING PYTHON +=============================================================== + +Python software and documentation are licensed under the +Python Software Foundation License Version 2. + +Starting with Python 3.8.6, examples, recipes, and other code in +the documentation are dual licensed under the PSF License Version 2 +and the Zero-Clause BSD license. + +Some software incorporated into Python is under different licenses. +The licenses are listed with code falling under that license. + + +PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2 +-------------------------------------------- + +1. This LICENSE AGREEMENT is between the Python Software Foundation +("PSF"), and the Individual or Organization ("Licensee") accessing and +otherwise using this software ("Python") in source or binary form and +its associated documentation. + +2. Subject to the terms and conditions of this License Agreement, PSF hereby +grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce, +analyze, test, perform and/or display publicly, prepare derivative works, +distribute, and otherwise use Python alone or in any derivative version, +provided, however, that PSF's License Agreement and PSF's notice of copyright, +i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, +2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023 Python Software Foundation; +All Rights Reserved" are retained in Python alone or in any derivative version +prepared by Licensee. + +3. In the event Licensee prepares a derivative work that is based on +or incorporates Python or any part thereof, and wants to make +the derivative work available to others as provided herein, then +Licensee hereby agrees to include in any such work a brief summary of +the changes made to Python. + +4. PSF is making Python available to Licensee on an "AS IS" +basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR +IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND +DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS +FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT +INFRINGE ANY THIRD PARTY RIGHTS. + +5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON +FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS +A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON, +OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. + +6. This License Agreement will automatically terminate upon a material +breach of its terms and conditions. + +7. Nothing in this License Agreement shall be deemed to create any +relationship of agency, partnership, or joint venture between PSF and +Licensee. This License Agreement does not grant permission to use PSF +trademarks or trade name in a trademark sense to endorse or promote +products or services of Licensee, or any third party. + +8. By copying, installing or otherwise using Python, Licensee +agrees to be bound by the terms and conditions of this License +Agreement. + + +BEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0 +------------------------------------------- + +BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1 + +1. This LICENSE AGREEMENT is between BeOpen.com ("BeOpen"), having an +office at 160 Saratoga Avenue, Santa Clara, CA 95051, and the +Individual or Organization ("Licensee") accessing and otherwise using +this software in source or binary form and its associated +documentation ("the Software"). + +2. Subject to the terms and conditions of this BeOpen Python License +Agreement, BeOpen hereby grants Licensee a non-exclusive, +royalty-free, world-wide license to reproduce, analyze, test, perform +and/or display publicly, prepare derivative works, distribute, and +otherwise use the Software alone or in any derivative version, +provided, however, that the BeOpen Python License is retained in the +Software, alone or in any derivative version prepared by Licensee. + +3. BeOpen is making the Software available to Licensee on an "AS IS" +basis. BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR +IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND +DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS +FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT +INFRINGE ANY THIRD PARTY RIGHTS. + +4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE +SOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS +AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY +DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. + +5. This License Agreement will automatically terminate upon a material +breach of its terms and conditions. + +6. This License Agreement shall be governed by and interpreted in all +respects by the law of the State of California, excluding conflict of +law provisions. Nothing in this License Agreement shall be deemed to +create any relationship of agency, partnership, or joint venture +between BeOpen and Licensee. This License Agreement does not grant +permission to use BeOpen trademarks or trade names in a trademark +sense to endorse or promote products or services of Licensee, or any +third party. As an exception, the "BeOpen Python" logos available at +http://www.pythonlabs.com/logos.html may be used according to the +permissions granted on that web page. + +7. By copying, installing or otherwise using the software, Licensee +agrees to be bound by the terms and conditions of this License +Agreement. + + +CNRI LICENSE AGREEMENT FOR PYTHON 1.6.1 +--------------------------------------- + +1. This LICENSE AGREEMENT is between the Corporation for National +Research Initiatives, having an office at 1895 Preston White Drive, +Reston, VA 20191 ("CNRI"), and the Individual or Organization +("Licensee") accessing and otherwise using Python 1.6.1 software in +source or binary form and its associated documentation. + +2. Subject to the terms and conditions of this License Agreement, CNRI +hereby grants Licensee a nonexclusive, royalty-free, world-wide +license to reproduce, analyze, test, perform and/or display publicly, +prepare derivative works, distribute, and otherwise use Python 1.6.1 +alone or in any derivative version, provided, however, that CNRI's +License Agreement and CNRI's notice of copyright, i.e., "Copyright (c) +1995-2001 Corporation for National Research Initiatives; All Rights +Reserved" are retained in Python 1.6.1 alone or in any derivative +version prepared by Licensee. Alternately, in lieu of CNRI's License +Agreement, Licensee may substitute the following text (omitting the +quotes): "Python 1.6.1 is made available subject to the terms and +conditions in CNRI's License Agreement. This Agreement together with +Python 1.6.1 may be located on the internet using the following +unique, persistent identifier (known as a handle): 1895.22/1013. This +Agreement may also be obtained from a proxy server on the internet +using the following URL: http://hdl.handle.net/1895.22/1013". + +3. In the event Licensee prepares a derivative work that is based on +or incorporates Python 1.6.1 or any part thereof, and wants to make +the derivative work available to others as provided herein, then +Licensee hereby agrees to include in any such work a brief summary of +the changes made to Python 1.6.1. + +4. CNRI is making Python 1.6.1 available to Licensee on an "AS IS" +basis. CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR +IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND +DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS +FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 1.6.1 WILL NOT +INFRINGE ANY THIRD PARTY RIGHTS. + +5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON +1.6.1 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS +A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1, +OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. + +6. This License Agreement will automatically terminate upon a material +breach of its terms and conditions. + +7. This License Agreement shall be governed by the federal +intellectual property law of the United States, including without +limitation the federal copyright law, and, to the extent such +U.S. federal law does not apply, by the law of the Commonwealth of +Virginia, excluding Virginia's conflict of law provisions. +Notwithstanding the foregoing, with regard to derivative works based +on Python 1.6.1 that incorporate non-separable material that was +previously distributed under the GNU General Public License (GPL), the +law of the Commonwealth of Virginia shall govern this License +Agreement only as to issues arising under or with respect to +Paragraphs 4, 5, and 7 of this License Agreement. Nothing in this +License Agreement shall be deemed to create any relationship of +agency, partnership, or joint venture between CNRI and Licensee. This +License Agreement does not grant permission to use CNRI trademarks or +trade name in a trademark sense to endorse or promote products or +services of Licensee, or any third party. + +8. By clicking on the "ACCEPT" button where indicated, or by copying, +installing or otherwise using Python 1.6.1, Licensee agrees to be +bound by the terms and conditions of this License Agreement. + + ACCEPT + + +CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2 +-------------------------------------------------- + +Copyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam, +The Netherlands. All rights reserved. + +Permission to use, copy, modify, and distribute this software and its +documentation for any purpose and without fee is hereby granted, +provided that the above copyright notice appear in all copies and that +both that copyright notice and this permission notice appear in +supporting documentation, and that the name of Stichting Mathematisch +Centrum or CWI not be used in advertising or publicity pertaining to +distribution of the software without specific, written prior +permission. + +STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO +THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE +FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT +OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +ZERO-CLAUSE BSD LICENSE FOR CODE IN THE PYTHON DOCUMENTATION +---------------------------------------------------------------------- + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. From 744c7c64a6539554b8bd757b42476896fc61792a Mon Sep 17 00:00:00 2001 From: Shahar Naveh <50263213+ShaharNaveh@users.noreply.github.com> Date: Fri, 14 Nov 2025 16:48:04 +0200 Subject: [PATCH 8/8] Merge pull request #4 from ShaharNaveh/archive-notice Update README to reflect project archive status --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 239b4c2..c1479bc 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,6 @@ +> [!IMPORTANT] +> This project is now archived and has been moved under [RustPython](https://github.com/RustPython/RustPython/tree/main/crates/doc) + # `__doc__` for [RustPython](https://rustpython.github.io/) @@ -50,4 +53,4 @@ This project is licensed under the MIT license. Please see the 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. \ No newline at end of file +for more details.