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:
|
||||
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."""
|
||||
|
||||
allow = Permissions.none()
|
||||
|
Loading…
x
Reference in New Issue
Block a user