summaryrefslogtreecommitdiff
path: root/rsa/key.py
diff options
context:
space:
mode:
Diffstat (limited to 'rsa/key.py')
-rw-r--r--rsa/key.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/rsa/key.py b/rsa/key.py
index 05c77ef..b4d902b 100644
--- a/rsa/key.py
+++ b/rsa/key.py
@@ -118,7 +118,8 @@ class AbstractKey:
return method(keyfile)
@staticmethod
- def _assert_format_exists(file_format: str, methods: typing.Mapping[str, typing.Callable]) -> typing.Callable:
+ def _assert_format_exists(file_format: str, methods: typing.Mapping[str, typing.Callable]) \
+ -> typing.Callable:
"""Checks whether the given file format exists in 'methods'.
"""