mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-05-16 18:59:09 +00:00
Add missing typehint for PermissionOverwrite.pair
Technically inferred but better to be explicit
This commit is contained in:
parent
d7a4230007
commit
4a6670c062
@ -673,7 +673,7 @@ class PermissionOverwrite:
|
|||||||
else:
|
else:
|
||||||
self._values[key] = value
|
self._values[key] = value
|
||||||
|
|
||||||
def pair(self):
|
def pair(self) -> Tuple[Permissions, Permissions]:
|
||||||
"""Tuple[:class:`Permissions`, :class:`Permissions`]: Returns the (allow, deny) pair from this overwrite."""
|
"""Tuple[:class:`Permissions`, :class:`Permissions`]: Returns the (allow, deny) pair from this overwrite."""
|
||||||
|
|
||||||
allow = Permissions.none()
|
allow = Permissions.none()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user