Skip to content

Commit 07fbbfd

Browse files
matrixiseJulienPalard
authored andcommitted
bpo-34906: Doc: Fix typos (GH-9712)
1 parent 7a7693e commit 07fbbfd

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

Doc/library/dis.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ operation is being performed, so the intermediate analysis object isn't useful:
149149
.. function:: dis(x=None, *, file=None, depth=None)
150150

151151
Disassemble the *x* object. *x* can denote either a module, a class, a
152-
method, a function, a generator, an asynchronous generator, a couroutine,
152+
method, a function, a generator, an asynchronous generator, a coroutine,
153153
a code object, a string of source code or a byte sequence of raw bytecode.
154154
For a module, it disassembles all functions. For a class, it disassembles
155155
all methods (including class and static methods). For a code object or

Doc/library/ssl.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2658,7 +2658,7 @@ of TLS/SSL. Some new TLS 1.3 features are not yet available.
26582658
- TLS 1.3 uses a disjunct set of cipher suites. All AES-GCM and
26592659
ChaCha20 cipher suites are enabled by default. The method
26602660
:meth:`SSLContext.set_ciphers` cannot enable or disable any TLS 1.3
2661-
ciphers yet, but :meth:`SSLContext.get_cipers` returns them.
2661+
ciphers yet, but :meth:`SSLContext.get_ciphers` returns them.
26622662
- Session tickets are no longer sent as part of the initial handshake and
26632663
are handled differently. :attr:`SSLSocket.session` and :class:`SSLSession`
26642664
are not compatible with TLS 1.3.

Doc/library/zipapp.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ Pack up a directory into an archive, and run it.
195195
$ python myapp.pyz
196196
<output from myapp>
197197
198-
The same can be done using the :func:`create_archive` functon::
198+
The same can be done using the :func:`create_archive` function::
199199

200200
>>> import zipapp
201201
>>> zipapp.create_archive('myapp.pyz', 'myapp')

Doc/whatsnew/3.6.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1623,7 +1623,7 @@ a class variable and should not be set on instances of that class.
16231623
<https://github.com/python/typing/pull/280>`_.)
16241624

16251625
A new :const:`~typing.TYPE_CHECKING` constant that is assumed to be
1626-
``True`` by the static type chekers, but is ``False`` at runtime.
1626+
``True`` by the static type checkers, but is ``False`` at runtime.
16271627
(Contributed by Guido van Rossum in `Github #230
16281628
<https://github.com/python/typing/issues/230>`_.)
16291629

Lib/bdb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def trace_dispatch(self, frame, event, arg):
7474
return: A function or other code block is about to return.
7575
exception: An exception has occurred.
7676
c_call: A C function is about to be called.
77-
c_return: A C functon has returned.
77+
c_return: A C function has returned.
7878
c_exception: A C function has raised an exception.
7979
8080
For the Python events, specialized functions (see the dispatch_*()

Modules/_ssl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ SSL_SESSION_get_ticket_lifetime_hint(const SSL_SESSION *s)
273273
#error "Py_SSL_DEFAULT_CIPHERS 0 needs Py_SSL_DEFAULT_CIPHER_STRING"
274274
#endif
275275
#elif PY_SSL_DEFAULT_CIPHERS == 1
276-
/* Python custom selection of sensible ciper suites
276+
/* Python custom selection of sensible cipher suites
277277
* DEFAULT: OpenSSL's default cipher list. Since 1.0.2 the list is in sensible order.
278278
* !aNULL:!eNULL: really no NULL ciphers
279279
* !MD5:!3DES:!DES:!RC4:!IDEA:!SEED: no weak or broken algorithms on old OpenSSL versions.

0 commit comments

Comments
 (0)