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)
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
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
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
Jim Fasarakis-Hilliard
32e8f9bdfd
bpo-29453: Remove reference to undefined dictionary ordering in Tutorial (GH-140)
...
As of Python 3.6 **kwargs are ordered, thus, remove the paragraph stating that
ordering is undefined and change snippet to remove the unecessary sorted call.
* Add sentence mentioning guaranteed output order of kwargs
2017-02-20 21:20:23 -09:00
Martin Panter
6a09315ff0
Issue #26462 : Merge code block fixes from 3.5
2016-07-29 01:49:37 +00:00
Martin Panter
1050d2d0c7
Issue #26462 : Doc: reduce literal_block warnings, fix syntax highlighting.
...
Patch by Julien Palard.
2016-07-26 11:18:21 +02:00
Berker Peksag
0a5120e457
Issue #23116 : Improve ask_ok() example in the Python tutorial
2016-06-02 11:31:19 -07:00
Berker Peksag
9c27c18c65
Issue #23116 : Merge from 3.5
2016-06-02 11:31:51 -07:00
Serhiy Storchaka
c499f30286
Issue #23921 : Standardized documentation whitespace formatting.
...
Original patch by James Edwards.
2016-05-10 12:01:56 +03:00
Serhiy Storchaka
dba903993a
Issue #23921 : Standardized documentation whitespace formatting.
...
Original patch by James Edwards.
2016-05-10 12:01:23 +03:00
Georg Brandl
40383c8f10
Minor clarification in tutorial.
2016-02-15 17:50:33 +01:00
Zachary Ware
f3b990e48c
Issue #23932 : Update the tutorial section on function annotations.
...
Patch by Juti Noppornpitak.
2015-04-13 11:30:47 -05:00
Andrew Svetlov
08af00047b
Get rid of deprecated IOError in the doc
2014-04-01 01:13:30 +03:00
Andrew Kuchling
3633da239e
Use different word
2014-02-03 09:04:02 -05:00
Ezio Melotti
e65cb190a6
Fix indentation in doc example.
2013-11-17 22:07:48 +02:00
Georg Brandl
242e6a0bce
Use "lambda expression" as preferred to "lambda form".
2013-10-06 10:28:39 +02:00
Georg Brandl
de5aff1bdc
Closes #18646 : improve lambda docs in tutorial. Original patch by Terry Reedy.
2013-10-06 10:22:45 +02:00
Andrew Svetlov
1491cbdf63
Issue #14893 : Add function annotation example to function tutorial.
...
Patch by Zachary Ware.
2012-11-01 21:26:55 +02:00
Chris Jerdonek
4fab8f0e06
Issue #16225 : Add additional note to tutorial about changing sequence while looping.
2012-10-15 19:44:47 -07:00
Eli Bendersky
31a11902b3
tutorial typo fix
2012-08-18 09:50:09 +03:00
Senthil Kumaran
1ef9caa2a1
Issue #15630 : Add an example for "continue" statement in the tutorial. Patch by
...
Daniel Ellis.
2012-08-12 12:01:47 -07:00
Nick Coghlan
a3a164a03c
Nudge readers towards a more accurate mental model for loop else clauses
2012-06-07 22:41:34 +10:00
Ezio Melotti
7b7e39a61f
#6570 : clarify tutorial section about keyword arguments.
2011-12-13 15:49:22 +02:00
Georg Brandl
bdbdfb1978
Confirm that the prime example is actually correct. We get so many complaints about a "buggy example" on docs@python, let us hope this cuts them in half at least.
2011-08-08 21:45:13 +02:00