Add missing typehint for PermissionOverwrite.pair
Technically inferred but better to be explicit
This commit is contained in:
1 parent
d7a4230007
commit
4a6670c062
1 file changed
+1
-1
@@ -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()
|
||||||
|
|||||||
Reference in new issue
Block a user