From 3eb5ff4e3f0a841d28d8c742eba2e562f9fc2231 Mon Sep 17 00:00:00 2001
From: ChrisLovering
Date: Mon, 4 Mar 2024 14:53:52 +0000
Subject: Deploying to docs from @
python-discord/bot-core@c72b515aec03b1d9df49a3d58bfa90a3d864160e 🚀
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
main/output/pydis_core.utils.function.html | 92 ++----------------------------
1 file changed, 6 insertions(+), 86 deletions(-)
(limited to 'main/output/pydis_core.utils.function.html')
diff --git a/main/output/pydis_core.utils.function.html b/main/output/pydis_core.utils.function.html
index b34d0b3d..f979c049 100644
--- a/main/output/pydis_core.utils.function.html
+++ b/main/output/pydis_core.utils.function.html
@@ -279,86 +279,6 @@
v9.0.0
-
- v8.3.0-beta
-
-
-
- v8.2.1
-
-
-
- v8.2.0
-
-
-
- v8.1.0
-
-
-
- v8.0.0-beta.4
-
-
-
- v8.0.0-beta.3
-
-
-
- v8.0.0-beta.2
-
-
-
- v8.0.0-beta.1
-
-
-
- v8.0.0
-
-
-
- v7.5.0
-
-
-
- v7.4.0-beta1
-
-
-
- v7.4.0
-
-
-
- v7.3.1
-
-
-
- v7.3.0
-
-
-
- v7.2.2
-
-
-
- v7.2.1
-
-
-
- v7.2.0
-
-
-
- v7.1.3
-
-
-
- v7.1.2
-
-
-
- v7.1.1
-
-
v10.7.0
@@ -455,14 +375,14 @@
Utils for manipulating functions.
-
-exception GlobalNameConflictError[source]
+exception GlobalNameConflictError[source]
Bases: Exception
Raised on a conflict between the globals used to resolve annotations of a wrapped function and its wrapper.
-
-command_wraps(wrapped, assigned=('__module__', '__name__', '__qualname__', '__doc__', '__annotations__'), updated=('__dict__',), *, ignored_conflict_names=frozenset({}))[source]
+command_wraps(wrapped, assigned=('__module__', '__name__', '__qualname__', '__doc__', '__annotations__'), updated=('__dict__',), *, ignored_conflict_names=frozenset({}))[source]
Update the decorated function to look like wrapped, and update globals for discord.py forwardref evaluation.
See update_wrapper_globals() for more details on how the globals are updated.
@@ -486,7 +406,7 @@ with the wrapper replaced with the function
-
-get_arg_value(name_or_pos, arguments)[source]
+get_arg_value(name_or_pos, arguments)[source]
Return a value from arguments based on a name or position.
- Parameters:
@@ -509,7 +429,7 @@ with the wrapper replaced with the function
-
-get_arg_value_wrapper(decorator_func, name_or_pos, func=None)[source]
+get_arg_value_wrapper(decorator_func, name_or_pos, func=None)[source]
Call decorator_func with the value of the arg at the given name/position.
- Parameters:
@@ -531,7 +451,7 @@ parameter names to argument values of the function it’s decorating.
-
-get_bound_args(func, args, kwargs)[source]
+get_bound_args(func, args, kwargs)[source]
Bind args and kwargs to func and return a mapping of parameter names to argument values.
Default parameter values are also set.
@@ -553,7 +473,7 @@ parameter names to argument values of the function it’s decorating.
-
-update_wrapper_globals(wrapper, wrapped, *, ignored_conflict_names=frozenset({}))[source]
+update_wrapper_globals(wrapper, wrapped, *, ignored_conflict_names=frozenset({}))[source]
Create a copy of wrapper, the copy’s globals are updated with wrapped's globals.
For forwardrefs in command annotations, discord.py uses the __global__ attribute of the function
to resolve their values. This breaks for decorators that replace the function because they have
--
cgit v1.2.3