Skip to content

Commit 95674b2

Browse files
committed
✏️ docs(key_pair.py): fix typos in comments for better readability and understanding
1 parent 063b53f commit 95674b2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

convex_api/key_pair.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ def export_to_text(self, password: Union[str, bytes]):
290290
291291
:param str password: Password to encrypt the private key value
292292
293-
:returns: The private key as a PEM formated encrypted string
293+
:returns: The private key as a PEM formatted encrypted string
294294
295295
.. code-block:: python
296296
@@ -348,7 +348,7 @@ def export_to_file(self, filename: str, password: Union[str, bytes]) -> None:
348348
349349
:param str filename: Filename to create with the PEM string
350350
351-
:param str password: Password to use to encypt the private key
351+
:param str password: Password to use to encrypt the private key
352352
353353
.. code-block:: python
354354
@@ -505,7 +505,7 @@ def import_from_text(text: Union[str, bytes], password: Union[str, bytes]) -> 'K
505505
506506
.. code-block:: python
507507
508-
>>> # create an KeyPair object from a enrcypted pem text
508+
>>> # create an KeyPair object from a encrypted pem text
509509
>>> pem_text = '''-----BEGIN ENCRYPTED PRIVATE KEY-----
510510
MIGbMFcGCSqGSIb3DQEFDTBKMCkGCSqGSIb3DQEFDDAcBAi3qm1zgjCO5gICCAAw
511511
DAYIKoZIhvcNAgkFADAdBglghkgBZQMEASoEENjvj1n...
@@ -563,7 +563,7 @@ def import_from_file(filename: str, password: Union[str, bytes]) -> 'KeyPair':
563563
564564
.. code-block:: python
565565
566-
>>> # create an KeyPair object from a enrcypted pem saved in a file
566+
>>> # create an KeyPair object from a encrypted pem saved in a file
567567
>>> key_pair = KeyPair.import_from_file(my_key_pair_key.pem, 'my secret password')
568568
569569

0 commit comments

Comments
 (0)