Miss Islington (bot)
79f70cee7b
use rich markup for PEP reference (GH-7939)
...
it's better to refer to PEP with `pep` role in reStructuredText. It also links to the PEP page.
(cherry picked from commit df748c20da )
Co-authored-by: Behzad B. Mokhtari <35877268+perplexionist@users.noreply.github.com >
2018-06-26 21:17:14 -07:00
Miss Islington (bot)
5f165851b9
bpo-33892: Doc: Use gender neutral words (GH-7770)
...
(cherry picked from commit 5092439c2c )
Co-authored-by: Andrés Delfino <adelfino@gmail.com >
2018-06-17 21:49:43 -07:00
Miss Islington (bot)
0f1a183269
bpo-33641: Convert RFC references into links. (GH-7103)
...
85% of them are already links.
(cherry picked from commit 0a36ac1a09 )
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com >
2018-05-30 22:33:23 -07:00
Miss Islington (bot)
51b2f6d3a3
bpo-33503: Fix the broken pypi link in the source and the documentation (GH-6814) (GH-6872)
...
(cherry picked from commit 19177fbd5d )
Co-authored-by: Stéphane Wirtel <stephane@wirtel.be >
2018-05-16 10:05:46 -04:00
Miss Islington (bot)
8ffff34ea1
bpo-13525: Fix incorrect encoding name in the tutorial example. (GH-6738)
...
(cherry picked from commit ddb6215a55 )
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com >
2018-05-09 01:54:38 -07:00
Miss Islington (bot)
1985849fe2
Mention both relevant PEPs in function annotations tutorial (GH-6304)
...
Patch by Neeraj Badlani.
(cherry picked from commit 643ff711fa )
Co-authored-by: Neeraj Badlani <neerajbadlani@gmail.com >
2018-04-25 11:04:49 -07:00
Miss Islington (bot)
f9005030fe
bpo-33297: Mention Pillow to work with more image formats. (GH-6505)
...
Also update PIL doc references to Pillow.
(cherry picked from commit b81ca28b37 )
Co-authored-by: Andrés Delfino <34587441+andresdelfino@users.noreply.github.com >
2018-04-21 06:03:49 -07:00
Miss Islington (bot)
b571958f54
Improve highlighting of some code blocks. (GH-6401)
...
(cherry picked from commit 46936d5a71 )
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com >
2018-04-09 07:56:44 -07:00
Miss Islington (bot)
9216dffbc8
bpo-32337: Update documentats about dict order (GH-4973)
...
(cherry picked from commit dfbbbf16f9 )
Co-authored-by: hui shang <shangdahao@gmail.com >
2018-04-03 22:01:46 -07:00
Miss Islington (bot)
3ca5efcef5
controlflow: Use full example for "5 through 9" (GH-5907)
...
Replace example result of "5 through 9" with complete list: "5, 6, 7, 8, 9".
This format is more consistent with the surrounding examples.
(cherry picked from commit 83d7062d2d )
Co-authored-by: Steven M. Vascellaro <S.Vascellaro@gmail.com >
2018-03-10 15:25:14 -08:00
Miss Islington (bot)
e48e6499bb
bpo-31454: Include information about "import X as Y" in Modules tutorial (GH-4041)
...
(cherry picked from commit fbee88244e )
Co-authored-by: Mario Corchero <mariocj89@gmail.com >
2018-02-25 11:35:52 -08:00
Miss Islington (bot)
ddf2485103
bpo-25059: Clarify the print separator usage in tutorial (GH-5879)
...
By default `print` adds spaces between its arguments.
(cherry picked from commit 84c4b0cc67 )
Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com >
2018-02-25 11:13:33 -08:00
Emily Morehouse
f190eb59e6
bpo-32452: clarify term 'brackets' in generator tutorial ( #5079 )
...
Updates documentation for generator expressions in classes tutorial: Clarify usage of ambiguous term "brackets" by replacing with "square brackets". Updated subsequent lines to respect line breaks. (#5079 )
2018-01-01 20:34:53 -05:00
Sanyam Khurana
1b4587a246
bpo-25910: Fixes redirection from http to https ( #4674 )
2017-12-06 17:39:33 +01:00
Will White
78a5722ae9
Improve the String tutorial docs (GH-4541)
...
The paragraph that contains example of string literal concatenation was placed
after the section about concatenation using the '+' sign.
Moved the paragraph to the appropriate section.
2017-11-24 09:28:12 -08:00
Raymond Hettinger
8c26a34f93
bpo-31757: Make Fibonacci examples consistent ( #3991 )
2017-10-14 07:36:08 -07:00
Trey Hunner
3fbd70018f
bpo-30466: Add brief explanation of classes to tutorial (GH-1804)
2017-07-12 19:30:37 -07:00
regexaurus
36fc896740
Clarification to the break statement (GH-2453)
...
Clarify that the break statement breaks out of the innermost enclosing for or while loop.
2017-06-27 15:40:41 -07:00
Andrew Kuchling
bd4e9e0ca9
bpo-6519: Improve Python Input Output Tutorial (GH-2143)
...
Move up the discussion about 'with' keyword, so it appears earlier in the document.
2017-06-12 22:31:01 -07:00
suketa
1dbce04d0e
bpo-30621: Update Input Output Tutorial Example(GH-2074)
...
import json before using json module
2017-06-11 18:42:59 -07:00
KatherineMichel
ca81615344
bpo-30312: Small correction in datastructures set code sample (GH-2081)
2017-06-10 12:19:09 -07:00
gfyoung
e405d4b8df
bpo-30361: Use better example for mixed-type operands ( #1701 )
2017-05-29 17:26:31 -04:00
UltimateCoder
8856940cf2
bpo-28315: Improve code examples in docs (GH-1372)
...
Replace
File "<stdin>", line 1, in ?
with
File "<stdin>", line 1, in <module>
2017-05-03 09:46:45 -07:00
Xiang Zhang
b2d77175d1
bpo-29756: Improve documentation for list methods that compare items by equality (GH-572)
2017-03-13 10:09:16 +08:00
Jim Fasarakis-Hilliard
53c1892dc3
Fix small typos in introduction and datastructures of tutorial (GH-272)
...
* Fix small typos in introduction and datastructures
* Use iterable instead of L in the doc for list.extend
2017-02-25 13:13:33 -08:00