Skip to content

Commit a0efeb8

Browse files
committed
fix typos in docs
1 parent a1c6308 commit a0efeb8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Doc/library/linecache.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ The :mod:`linecache` module defines the following functions:
3131
.. index:: triple: module; search; path
3232

3333
If *filename* indicates a frozen module (starting with ``'<frozen '``), the function
34-
will attepmt to get the real file name from ``module_globals['__file__']`` if
34+
will attempt to get the real file name from ``module_globals['__file__']`` if
3535
*module_globals* is not ``None``.
3636

3737
If a file named *filename* is not found, the function first checks

Doc/tools/extensions/grammar_snippet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ class GrammarSnippetDirective(GrammarSnippetBase):
191191
into something similar to Sphinx productionlist, but better suited
192192
for our needs:
193193
- Instead of `::=`, use a colon, as in `Grammar/python.gram`
194-
- Show the listing almost as is, with no auto-aligment.
194+
- Show the listing almost as is, with no auto-alignment.
195195
The only special character is the backtick, which marks tokens.
196196
197197
Unlike Sphinx's productionlist, this directive supports options.

0 commit comments

Comments
 (0)