216 Commits

Author SHA1 Message Date
Mariatta
107949cb87 bpo-30621: Update Input Output Tutorial Example(GH-2074) (GH-2120)
import json before using json module
(cherry picked from commit 1dbce04d0e)
2017-06-11 18:59:33 -07:00
Mariatta
e1b02ff588 [2.7] bpo-28315: Improve code examples in docs (GH-1372) (#1447)
Replace
   File "<stdin>", line 1, in ?
with
   File "<stdin>", line 1, in <module>.
(cherry picked from commit 8856940cf2)
2017-05-03 18:54:28 -07:00
Qingpeng "Q.P." Zhang
4bfb603810 Remove redundant footnote (#181)
It was accidentally added in cc79837.
2017-02-19 22:32:51 +03:00
Mariatta Wijaya
40ba60f6bf Issue #29381: Clarify ordering of UNIX shebang line as source encoding line 2017-02-01 21:14:47 -08:00
Serhiy Storchaka
8b5528782a Fixed mismatching title overline. 2016-12-04 15:42:13 +02:00
Serhiy Storchaka
e7f555b969 Fixed double hyphens that are rendered to literal en-dashes in the documenation. 2016-12-04 10:20:18 +02:00
Martin Panter
a52b567a3f Issue #28820: Fix spelling of “practice” as a noun 2016-11-30 10:18:45 +00:00
Terry Jan Reedy
dace77c530 Issue #28815: Change '?' to '<module>' in some doc examples.
Patch by Mariatta Wijaya.
2016-09-30 15:38:41 -04:00
Martin Panter
8f1dd224e0 Issue #26462: Doc: avoid literal_block warnings, fix syntax highlighting.
Patch by Julien Palard.
2016-07-26 11:18:21 +02:00
Martin Panter
b362f75f6e Issue #25523: Correct "a" article to "an" article
This changes the main documentation, doc strings, source code comments, and a
couple error messages in the test suite. In some cases the word was removed
to fix the grammar.
2015-11-02 03:37:02 +00:00
Martin Panter
d51b0f2188 Issue #24314: Add links for general attributes like __name__, __dict__ 2016-06-18 03:57:31 +00:00
Serhiy Storchaka
12d547a80d Issue #23921: Standardized documentation whitespace formatting.
Original patch by James Edwards.
2016-05-10 13:45:32 +03:00
Serhiy Storchaka
b4905efe23 Issue #26736: Used HTTPS for external links in the documentation if possible. 2016-05-07 10:50:12 +03:00
Serhiy Storchaka
9a118f1dc3 Issue #26778: Fixed "a/an/and" typos in code comment and documentation. 2016-04-17 09:37:36 +03:00
Martin Panter
00f19eff3e Issue #25179: Preparatory cleanup of existing docs on string formatting
* There was a link pointing to the section on the string.Formatter class (and
  multiple links in Python 3), when the section on the common format string
  syntax is probably more appropriate
* Fix references to various format() functions and methods
* Nested replacement fields may contain conversions and format specifiers,
  and this is tested in Python 3; see Issue #19729 for instance
2016-02-08 01:34:09 +00:00
Serhiy Storchaka
9b2e37f688 Marked keystrokes with the :kbd: role.
Fixed the case of the "Ctrl-" prefixes.
2015-09-12 17:47:12 +03:00
Raymond Hettinger
9ce9f77983 Improve tutorial suggestion for looping techniques 2015-09-01 02:20:44 -07:00
Serhiy Storchaka
251aede2f2 Fix minor docs markup errors. 2015-03-14 21:32:41 +02:00
Benjamin Peterson
ad5ddf79c3 remove parenthesis from print statement (closes #23396) 2015-02-04 22:06:55 -05:00
Georg Brandl
a44ec3ff4c Closes #23181: codepoint -> code point 2015-01-14 08:26:30 +01:00
Berker Peksag
d4f5c1436b Issue #23070: Fix a comment in the tutorial.
"Python" has 6 characters, not 7.

Reported by Ross Burnett.
2014-12-17 14:59:33 +02:00
Berker Peksag
3e1c8237e8 Issue #12602: Add missing cross-references to runpy and using/cmdline docs.
Patch by Éric Araujo.
2014-12-10 02:07:08 +02:00
Georg Brandl
05e7c9ea6f Fix description. 2014-11-14 11:20:07 +01:00
Georg Brandl
96c4de960c Closes #22868: make example less ambiguous. 2014-11-14 11:12:53 +01:00
Georg Brandl
c182f888db minor grammar fixes (from docs@python.org) 2014-10-31 09:29:38 +01:00