Skip to content

Commit 63c03bb

Browse files
committed
Update docs
1 parent 8511d6c commit 63c03bb

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

discord/ext/modal_paginator/core.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ class ModalPaginator(discord.ui.View):
260260
261261
.. describe:: iter(x)
262262
263-
Returns an iterator of (:class:`PaginatorModal`, List[:class:`TextInput`]) for each modal in the paginator.
263+
Returns an iterator of (:class:`PaginatorModal`, List[:class:`discord.ui.TextInput`]) for each modal in the paginator.
264264
265265
.. versionadded:: 1.3
266266
@@ -1001,10 +1001,8 @@ async def send(
10011001

10021002
if (
10031003
response
1004-
and isinstance(response, _InteractionCallbackResponse) # pyright: ignore [reportUnnecessaryIsInstance]
1005-
and isinstance(
1006-
response.resource, discord.InteractionMessage
1007-
) # pyright: ignore [reportUnnecessaryIsInstance]
1004+
and isinstance(response, _InteractionCallbackResponse)
1005+
and isinstance(response.resource, discord.InteractionMessage)
10081006
):
10091007
self._message = response.resource
10101008

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ classifiers = [
3434
[project.optional-dependencies]
3535
dev = ["black", "ruff", "typing_extensions"]
3636
docs = [
37-
"Sphinx==6.1",
38-
"furo",
39-
"sphinx-autodoc-typehints==1.22",
40-
"enum-tools[sphinx]==0.9.*",
37+
"Sphinx>=8.2,<9",
38+
"furo>=2024.8,<2025",
39+
"sphinx-autodoc-typehints>=3.2,<4",
40+
"enum-tools[sphinx]>=0.13,<0.14",
4141
]
4242

4343
[tool.setuptools]

0 commit comments

Comments
 (0)