Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-21196: Clarify name mangling rules in tutorial (GH-5667) | Berker Peksag | 2018-10-20 | 1 | -0/+5 |
| | | | Initial patch by Chandan Kumar. | ||||
* | bpo-34712: Fix style in examples in "Input and Output" (GH-9361) | Ben Hoyt | 2018-09-19 | 1 | -4/+7 |
| | | | | | | | | | | | A couple of fixes here to make this more PEP-8: * Avoid multiple statements on one line with `;` statement separator -- this is very rare in Python and is "generally discouraged" in PEP 8 (and if used, per PEP 8 there shouldn't be a space before the `;`) * Add output for the first "Formatted String Literals" example. (Side note: are the doctests for this being run? If so, why didn't it fail?) * Avoid space before `!r`. I have generally not seen spaces before the `!`, and this also matches the style used in the docs here: https://docs.python.org/3/library/string.html#format-string-syntax https://bugs.python.org/issue34712 | ||||
* | bpo-33460: remove ellipsis that look like continuation prompts (GH-7851) | Lew Kurtz | 2018-09-11 | 1 | -4/+10 |
| | | | | | Remove ellipsis that look like continuation prompts, has a side benefit of putting rest of error message in proper text color. | ||||
* | Doc: Missing 'f' in an f-string. (GH-9074) | Julien Palard | 2018-09-07 | 1 | -1/+1 |
| | |||||
* | Update list.remove(x) documentation (GH-8636) | Lysandros Nikolaou | 2018-08-03 | 1 | -2/+2 |
| | | | Rephrase it to "It raises a `ValueError`" | ||||
* | bpo-28677: Improve phrasing of when instance attribute is referenced (GH-6208) | Aaron Ang | 2018-07-25 | 1 | -2/+2 |
| | |||||
* | Remove extra parentheses in output formatting tutorial (GH-8350) | Aaqa Ishtyaq | 2018-07-20 | 1 | -2/+2 |
| | | | The parentheses were incorrect. | ||||
* | Fix documentation for input and output tutorial (GH-8231) | Lysandros Nikolaou | 2018-07-11 | 1 | -1/+1 |
| | | | The ValueError message ends with a period. | ||||
* | bpo-28626: rearrange discussion of output formatting to encourage f-strings ↵ | Andrew Kuchling | 2018-07-07 | 1 | -89/+138 |
| | | | | | | | | (#6036) The 'output formatting' section of the tutorial talks a lot about manual formatting with things like .rjust() and .zfill(), with only a passing reference to 3.6's new f-strings. This doesn't drop all of the old material, but it does rearrange the topics into a more modern order: f-strings first, discussing formatting specifiers a bit; then calling .format(); finally manual formatting with .ljust(). | ||||
* | use rich markup for PEP reference (GH-7939) | Behzad B. Mokhtari | 2018-06-27 | 1 | -1/+1 |
| | | | it's better to refer to PEP with `pep` role in reStructuredText. It also links to the PEP page. | ||||
* | bpo-33892: Doc: Use gender neutral words (GH-7770) | Andrés Delfino | 2018-06-18 | 1 | -10/+10 |
| | |||||
* | bpo-33641: Convert RFC references into links. (GH-7103) | Serhiy Storchaka | 2018-05-31 | 1 | -1/+1 |
| | | | | 85% of them are already links. | ||||
* | bpo-33503: Fix the broken pypi link in the source and the documentation ↵ | Stéphane Wirtel | 2018-05-15 | 2 | -2/+2 |
| | | | | (GH-6814) | ||||
* | bpo-13525: Fix incorrect encoding name in the tutorial example. (GH-6738) | Serhiy Storchaka | 2018-05-09 | 1 | -2/+2 |
| | |||||
* | Mention both relevant PEPs in function annotations tutorial (GH-6304) | Neeraj Badlani | 2018-04-25 | 1 | -2/+2 |
| | | | Patch by Neeraj Badlani. | ||||
* | bpo-33297: Mention Pillow to work with more image formats. (#6505) | Andrés Delfino | 2018-04-21 | 1 | -1/+1 |
| | | | | Also update PIL doc references to Pillow. | ||||
* | Improve highlighting of some code blocks. (GH-6401) | Serhiy Storchaka | 2018-04-08 | 1 | -1/+1 |
| | |||||
* | bpo-32337: Update documentats about dict order (GH-4973) | hui shang | 2018-04-04 | 1 | -15/+11 |
| | |||||
* | controlflow: Use full example for "5 through 9" (GH-5907) | Steven M. Vascellaro | 2018-03-09 | 1 | -1/+1 |
| | | | | Replace example result of "5 through 9" with complete list: "5, 6, 7, 8, 9". This format is more consistent with the surrounding examples. | ||||
* | bpo-31454: Include information about "import X as Y" in Modules tutorial ↵ | Mario Corchero | 2018-02-25 | 1 | -0/+19 |
| | | | | | | (GH-4041) | ||||
* | bpo-25059: Clarify the print separator usage in tutorial (GH-5879) | Cheryl Sabella | 2018-02-25 | 1 | -1/+1 |
| | | | By default `print` adds spaces between its arguments. | ||||
* | bpo-32722: Remove useless example in the Classes tutorial (#5446) | Stéphane Wirtel | 2018-02-01 | 1 | -4/+1 |
| | | | | | In the tutorial about the Generator expression, there is an example with a dict comprehension and not with a generator expression, just removed the code. | ||||
* | Start of 3.8.0a0 | Ned Deily | 2018-01-31 | 3 | -6/+6 |
| | |||||
* | bpo-32452: clarify term 'brackets' in generator tutorial (#5079) | Emily Morehouse | 2018-01-02 | 1 | -3/+3 |
| | | | 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) | ||||
* | bpo-25910: Fixes redirection from http to https (#4674) | Sanyam Khurana | 2017-12-06 | 1 | -1/+1 |
| | |||||
* | Improve the String tutorial docs (GH-4541) | Will White | 2017-11-24 | 1 | -7/+7 |
| | | | | | 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. | ||||
* | bpo-31757: Make Fibonacci examples consistent (#3991) | Raymond Hettinger | 2017-10-14 | 2 | -18/+20 |
| | |||||
* | bpo-30466: Add brief explanation of classes to tutorial (GH-1804) | Trey Hunner | 2017-07-13 | 1 | -0/+6 |
| | |||||
* | Clarification to the `break` statement (GH-2453) | regexaurus | 2017-06-27 | 1 | -1/+1 |
| | | | Clarify that the break statement breaks out of the innermost enclosing for or while loop. | ||||
* | bpo-6519: Improve Python Input Output Tutorial (GH-2143) | Andrew Kuchling | 2017-06-13 | 1 | -21/+29 |
| | | | Move up the discussion about 'with' keyword, so it appears earlier in the document. | ||||
* | bpo-30621: Update Input Output Tutorial Example(GH-2074) | suketa | 2017-06-12 | 1 | -0/+1 |
| | | | import json before using json module | ||||
* | bpo-30312: Small correction in datastructures set code sample (GH-2081) | KatherineMichel | 2017-06-10 | 1 | -1/+1 |
| | |||||
* | bpo-30361: Use better example for mixed-type operands (#1701) | gfyoung | 2017-05-29 | 1 | -4/+2 |
| | |||||
* | bpo-28315: Improve code examples in docs (GH-1372) | UltimateCoder | 2017-05-03 | 4 | -4/+4 |
| | | | | | | Replace File "<stdin>", line 1, in ? with File "<stdin>", line 1, in <module> | ||||
* | bpo-29756: Improve documentation for list methods that compare items by ↵ | Xiang Zhang | 2017-03-13 | 1 | -2/+2 |
| | | | | | | equality (GH-572) | ||||
* | Fix small typos in introduction and datastructures of tutorial (GH-272) | Jim Fasarakis-Hilliard | 2017-02-25 | 2 | -5/+5 |
| | | | | | * Fix small typos in introduction and datastructures * Use iterable instead of L in the doc for list.extend | ||||
* | bpo-29453: Remove reference to undefined dictionary ordering in Tutorial ↵ | Jim Fasarakis-Hilliard | 2017-02-21 | 1 | -6/+5 |
| | | | | | | | | | (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 | ||||
* | Issue #29381: merge with 3.6 | Mariatta Wijaya | 2017-02-02 | 1 | -11/+10 |
|\ | |||||
| * | Issue #29381: Clarify ordering of UNIX shebang line as source encoding line | Mariatta Wijaya | 2017-02-02 | 1 | -11/+10 |
| | | |||||
| * | Backed out changeset 3d712292f2fa | Mariatta Wijaya | 2017-02-02 | 1 | -14/+15 |
| | | |||||
| * | Issue #29381: Clarify ordering of UNIX shebang line as source encoding line | Mariatta Wijaya | 2017-02-02 | 1 | -15/+14 |
| | | |||||
* | | Merge: #29005: clarify terminology in tutorial 'method' discussion. | R David Murray | 2016-12-18 | 1 | -3/+2 |
|\ \ | |/ | |||||
| * | Merge: #29005: clarify terminology in tutorial 'method' discussion. | R David Murray | 2016-12-18 | 1 | -3/+2 |
| |\ | |||||
| | * | #29005: clarify terminology in tutorial 'method' discussion. | R David Murray | 2016-12-18 | 1 | -3/+2 |
| | | | | | | | | | | | | Patch by Jim Fasarakis-Hilliard. | ||||
* | | | Issue #28820: Merge typo fixes from 3.6 | Martin Panter | 2016-12-10 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | Issue #28820: Merge spelling fixes from 3.5 | Martin Panter | 2016-12-10 | 1 | -1/+1 |
| |\ \ | | |/ | |||||
| | * | Issue #28820: Fix spelling of “practice” as a noun | Martin Panter | 2016-12-10 | 1 | -1/+1 |
| | | | |||||
* | | | Fixed mismatching title overline. | Serhiy Storchaka | 2016-12-04 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | Fixed mismatching title overline. | Serhiy Storchaka | 2016-12-04 | 1 | -1/+1 |
| |\ \ | | |/ | |||||
| | * | Fixed mismatching title overline. | Serhiy Storchaka | 2016-12-04 | 1 | -1/+1 |
| | | |