Miss Islington (bot)
bc64123335
bpo-35566: Add links to annotation glossary term (GH-11291) (GH-11302)
2018-12-23 21:18:39 -08:00
Serhiy Storchaka
1e47fbcf78
[3.7] bpo-35506: Remove redundant and incorrect links from keywords. (GH-11174). (GH-11232)
...
(cherry picked from commit 2b57c43f21 )
2018-12-19 09:28:12 +02:00
Miss Islington (bot)
b949f74f4b
Add a reference to the name mangling description in the tutorial to the index. (GH-10138)
...
(cherry picked from commit c5eec4426d )
Co-authored-by: Andrés Delfino <adelfino@gmail.com >
2018-11-07 10:29:58 -08:00
Miss Islington (bot)
133fd6527d
Fix a typo about a comma. (GH-10306)
...
(cherry picked from commit fe62d877e3 )
Co-authored-by: İsmail Arılık <arilik.ismail@gmail.com >
2018-11-03 10:41:38 -07:00
Serhiy Storchaka
b183750f99
[3.7] bpo-35110: Fix unintentional spaces around hyphens and dashes. (GH-10231). (GH-10253)
...
(cherry picked from commit 3f819ca138 )
2018-10-31 11:00:24 +02:00
Miss Islington (bot)
fdf48b6b88
bpo-35054: Add yet more index entries for symbols. (GH-10121) (GH-10171)
...
(cherry picked from commit 913876d824 )
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com >
2018-10-28 18:43:32 +02:00
Miss Islington (bot)
ec10b70ea6
bpo-35044, doc: Use the :exc: role for the exceptions (GH-10037)
...
(cherry picked from commit e483f02423 )
Co-authored-by: Stéphane Wirtel <stephane@wirtel.be >
2018-10-26 03:56:28 -07:00
Serhiy Storchaka
9a75b8470a
[3.7] bpo-35054: Add more index entries for symbols. (GH-10064). (GH-10120)
...
(cherry picked from commit ddb961d2ab )
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com >
2018-10-26 11:18:42 +03:00
Miss Islington (bot)
3e5bcd12f6
bpo-21196: Clarify name mangling rules in tutorial (GH-5667)
...
Initial patch by Chandan Kumar.
(cherry picked from commit 13ae4d4438 )
Co-authored-by: Berker Peksag <berker.peksag@gmail.com >
2018-10-19 17:41:56 -07:00
Christophe Nanteuil
881ddffbff
[3.7]Documentation minor update related to 3.6 - 3.7 migration (GH-9501)
...
Change version from 3.6 to 3.7 in the documentation when it addresses newcomers.
original request from python/python-docs-fr#273
2018-09-24 09:33:44 -07:00
Miss Islington (bot)
d9c89111bd
bpo-34712: Fix style in examples in "Input and Output" (GH-9361)
...
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.htmlGH-format-string-syntax
https://bugs.python.org/issue34712
(cherry picked from commit 3705b98620 )
Co-authored-by: Ben Hoyt <benhoyt@gmail.com >
2018-09-19 13:30:40 -07:00
Miss Islington (bot)
037582eb7f
bpo-33460: remove ellipsis that look like continuation prompts (GH-7851)
...
Remove ellipsis that look like continuation prompts,
has a side benefit of putting rest of error message in proper text color.
(cherry picked from commit f019579828 )
Co-authored-by: Lew Kurtz <37632626+lew18@users.noreply.github.com >
2018-09-10 18:49:39 -07:00
Miss Islington (bot)
854b740910
Doc: Missing 'f' in an f-string. (GH-9074) (GH-9095)
...
(cherry picked from commit 25fa141487 )
Co-authored-by: Julien Palard <julien@palard.fr >
2018-09-07 11:59:00 +02:00
Miss Islington (bot)
66ff9d270c
Update list.remove(x) documentation (GH-8636)
...
Rephrase it to "It raises a `ValueError`"
(cherry picked from commit bcd1d971b6 )
Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com >
2018-08-02 20:03:19 -07:00
Miss Islington (bot)
ec02c58f5a
bpo-28677: Improve phrasing of when instance attribute is referenced (GH-6208)
...
(cherry picked from commit c0f0a7669c )
Co-authored-by: Aaron Ang <aaronang@users.noreply.github.com >
2018-07-25 20:52:18 +03:00
Miss Islington (bot)
49abd307d2
bpo-34161: Remove extra parentheses in output formatting tutorial (GH-8350)
...
The parentheses were incorrect.
(cherry picked from commit cb5f3fdb9d )
Co-authored-by: Aaqa Ishtyaq <aaqaishtyaq@gmail.com >
2018-07-20 13:38:06 -07:00
Miss Islington (bot)
c87b1aabbd
Fix documentation for input and output tutorial (GH-8231)
...
The ValueError message ends with a period.
(cherry picked from commit 9cffdbffc3 )
Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com >
2018-07-10 17:51:03 -07:00
Miss Islington (bot)
80a5f04592
bpo-28626: rearrange discussion of output formatting to encourage f-strings (GH-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().
(cherry picked from commit ced350b195 )
Co-authored-by: Andrew Kuchling <amk@amk.ca >
2018-07-09 06:52:48 -07:00
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