Skip to content

Commit 4e6e208

Browse files
Minor fixes to idle.rst and regenerate help.html (#140037)
1 parent 6a7c969 commit 4e6e208

File tree

3 files changed

+82
-35
lines changed

3 files changed

+82
-35
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ Include/opcode_ids.h generated
8383
Include/token.h generated
8484
Lib/_opcode_metadata.py generated
8585
Lib/keyword.py generated
86+
Lib/idlelib/help.html generated
8687
Lib/test/certdata/*.pem generated
8788
Lib/test/certdata/*.0 generated
8889
Lib/test/levenshtein_examples.json generated

Doc/library/idle.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ IDLE --- Python editor and shell
1313
single: Integrated Development Environment
1414

1515
..
16-
Remember to update Lib/idlelib/help.html with idlelib.help.copy_source() when modifying this file.
16+
Remember to update Lib/idlelib/help.html with idlelib.help.copy_strip() when modifying this file.
1717
1818
--------------
1919

@@ -88,7 +88,7 @@ Save
8888

8989
Save As...
9090
Save the current window with a Save As dialog. The file saved becomes the
91-
new associated file for the window. (If your file namager is set to hide
91+
new associated file for the window. (If your file manager is set to hide
9292
extensions, the current extension will be omitted in the file name box.
9393
If the new filename has no '.', '.py' and '.txt' will be added for Python
9494
and text files, except that on macOS Aqua,'.py' is added for all files.)
@@ -206,7 +206,7 @@ New Indent Width
206206

207207
Strip Trailing Whitespace
208208
Remove trailing space and other whitespace characters after the last
209-
non-whitespace character of a line by applying str.rstrip to each line,
209+
non-whitespace character of a line by applying :meth:`str.rstrip` to each line,
210210
including lines within multiline strings. Except for Shell windows,
211211
remove extra newlines at the end of the file.
212212

Lib/idlelib/help.html

Lines changed: 78 additions & 32 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)