Serhiy Storchaka
3d4a174c0e
[3.6] Make formatting of some return codes conforming to the general style. (GH-5587). (GH-5598)
...
(cherry picked from commit 5bb0005f9f
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2018-02-09 14:48:31 +02:00
Miss Islington (bot)
4a97809a38
trivial: link updates in documentation (GH-2765) ( #4835 )
...
(cherry picked from commit 4f29f3c84b
)
2017-12-13 14:45:19 +02:00
Miss Islington (bot)
98ceece8f4
[3.6] bpo-30737: Update DevGuide links to new URL (GH-3228) (GH-3390)
...
Update old devguide links from https://docs.python.org/devguide to https://devguide.python.org
(cherry picked from commit 384899dfae
)
2017-09-06 14:29:04 -07:00
Gregory P. Smith
d4097353ba
[3.6] Fix a typo in the Programming FAQ. (GH-3230) ( #3273 )
...
subobjects, not subobjecs.
(cherry picked from commit e9d978fd1b
)
2017-09-03 13:29:34 -07:00
Berker Peksag
23e2c3d193
Remove outdated FOX from GUI FAQ (GH-2538)
...
FXpy doesn't have a Python 3 port and it only
supports Python 2.2 and older versions.
Reported by Alex Walters on docs@p.o.
(cherry picked from commit d3ed2877a7
)
2017-07-04 09:27:35 +03:00
Senthil Kumaran
a4afdfcf27
Change some mercurial/ hg.python.org references. ( #8 ) ( #185 )
...
(cherry picked from commit b2ee40ed9c
)
2017-02-19 18:58:33 -08:00
Victor Stinner
b300c660d3
Backport36 doc fixes: PR#68 and PR#124 ( #125 )
...
* Travis CI: run rstlint.py in the docs job (#68 )
Currently, http://buildbot.python.org/all/buildslaves/ware-docs
buildbot is only run as post-commit. For example, bpo-29521 (PR#41)
introduced two warnings, unnotified by the Travis CI docs job.
Modify the docs job to run toosl/rstlint.py.
Fix also the two minor warnings which causes the buildbot slave to
fail.
(cherry picked from commit 2b501866ed
)
* Doc/Makefile: set PYTHON to python3 (#124 )
rstlint.py run by "make check" doesn't support Python 2.
"make venv" runs "$(PYTHON) -m venv", whereas Python 2 doens't
provide the venv module: it's a module of Python 3 standard library.
(cherry picked from commit 91b0e7d0ca
)
2017-02-16 00:56:54 +01:00
Mariatta
db3deb98e9
bpo-29521 Fix two minor documentation build warnings ( #41 ) ( #83 )
...
Much of bpo-29521 was fixed in parallel with commit
e7ffb99
. This cleans up the rest.
Apply parallel change to Doc/make.bat to read
"set SPHINXOPTS=-D latex_elements.papersize="
I don't have a Windows system on which to observe the warning,
but it should be necessary.
The warning:
.../workspace/cpython_github/Doc/faq/windows.rst:303:
WARNING: unknown option: -t
In the Windows FAQ, `How do I keep editors from inserting tabs
into my Python source?`, contained a reference to a Python -t
option. In Python 2.x, this caused Python to issue warnings
about lines with mixed spaces and tabs, but as of Python 3.6
it does nothing.
Per discussion at http://bugs.python.org/issue29387 , take
their wording. Python [3] raises an IndentationError or
TabError. Tabnanny is now a module.
(cherry picked from commit 3d707be950
)
2017-02-14 08:54:59 -08:00
Berker Peksag
37023b64d7
Issue #29024 : Merge from 3.5
2017-01-02 05:45:16 +03:00
Berker Peksag
d2d673fc4c
Issue #29024 : Add Kivy entry to GUI FAQ
...
Patch by inclement.
2017-01-02 05:44:49 +03:00
Serhiy Storchaka
c7b1a0bbe2
Issue #28763 : Use double hyphens (rendered as en-dashes) in numerical ranges
...
in the documentation.
2016-11-26 13:43:28 +02:00
Serhiy Storchaka
0264e46caa
Issue #28763 : Use double hyphens (rendered as en-dashes) in numerical ranges
...
in the documentation.
2016-11-26 13:49:59 +02:00
Brett Cannon
78ffd6cffa
Issue #28705 : greatly simplify the FAQ entry on transpiling.
...
This also eliminats a dead link to Weave in the process.
2016-11-18 10:41:28 -08: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
f0f2960f45
Merge from 3.5
2016-06-15 18:13:12 +03:00
Berker Peksag
33e7ca78f9
Make faq/general.rst gender-inclusive, patch by Sam Hathaway.
2016-06-15 18:12:49 +03:00
Senthil Kumaran
2950776d36
[merge from 3.5] - Issue27203 - Fix doctests Doc/faq/programming.rst.
...
Patch contributed by Jelle Zijlstra.
2016-06-04 20:08:10 -07:00
Senthil Kumaran
7749320142
Issue27203 - Fix doctests Doc/faq/programming.rst.
...
Patch contributed by Jelle Zijlstra.
2016-06-04 20:07:34 -07:00
Berker Peksag
32072714fd
Merge from 3.5
2016-06-01 13:55:00 -07:00
Berker Peksag
5b6a14d1cb
Fix link in programming FAQ.
...
The example actually uses the sort method of list object.
2016-06-01 13:54:33 -07:00
Benjamin Peterson
f527aa5040
merge 3.5
2016-05-26 23:19:02 -07:00
Benjamin Peterson
06198789a2
stop talking about svn
2016-05-26 23:18:51 -07:00
Benjamin Peterson
f50cc9ad66
merge 3.5
2016-05-26 22:56:51 -07:00
Benjamin Peterson
047ada4ef3
remove cruft from Schwarzian transform section
2016-05-26 22:55:49 -07:00
Benjamin Peterson
3f69f02792
merge 3.5
2016-05-26 22:51:44 -07:00
Benjamin Peterson
6d3ad2f64d
"Numeric Python" -> "NumPy"
2016-05-26 22:51:32 -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
Serhiy Storchaka
1acbf853c8
Issue #26736 : Used HTTPS for external links in the documentation if possible.
2016-05-07 10:49:58 +03:00
Serhiy Storchaka
6dff0205b7
Issue #26736 : Used HTTPS for external links in the documentation if possible.
2016-05-07 10:49:07 +03:00
Serhiy Storchaka
336fc5bbb0
Issue #25910 : Fixed dead links in the docs.
2016-04-11 12:34:07 +03:00
Serhiy Storchaka
90be7333ea
Issue #25910 : Fixed dead links in the docs.
2016-04-11 12:18:56 +03:00
Georg Brandl
3902d62c4e
merge with 3.5
2016-02-26 19:37:52 +01:00
Georg Brandl
5d94134040
Closes #25910 : fix dead and permanently redirected links in the docs. Thanks to SilentGhost for the patch.
2016-02-26 19:37:12 +01:00
Martin Panter
bc1ee460dc
Issue #25179 : Documentation for formatted string literals aka f-strings
...
Some of the inspiration and wording is taken from the text of PEP 498 by Eric
V. Smith, and the existing str.format() documentation.
2016-02-13 00:41:37 +00:00
Martin Panter
d5db14794b
Issue #25179 : Preparatory cleanup of existing docs on string formatting
...
* Various sections were pointing to the section on the string.Formatter
class, 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; see Issue #19729 for instance
2016-02-08 01:34:09 +00:00
Senthil Kumaran
fcb6db50d3
merge from 3.4
...
Issue25917 : Fix howto links in docs. Point the reference documentation instead of wiki.
2016-01-01 23:26:53 -08:00
Senthil Kumaran
d03d1d45f5
Issue25917 : Fix howto links in docs. Point the reference documentation instead of wiki.
2016-01-01 23:25:58 -08:00
Brett Cannon
762d5ea875
Issue #12484 : Remove a mention of Py_InitModule() and _PyImport_FixupExtension().
...
Thanks to Alejandro Santos for the bug report and Anish Shah for the
patch.
2015-12-27 12:24:06 -08:00
Martin Panter
7462b64911
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
or edited some other way to fix the grammar.
2015-11-02 03:37:02 +00:00
Benjamin Peterson
b395188088
actually link to the version attributes documentation
2015-10-11 23:03:22 -07:00
Benjamin Peterson
0071b3dfcb
don't mention Python 2.2 ( closes #25375 )
2015-10-10 23:23:55 -07:00
Serhiy Storchaka
0424eaf753
Marked keystrokes with the :kbd: role.
...
Fixed the case of the "Ctrl-" prefixes.
2015-09-12 17:45:25 +03:00
Martin Panter
7f02d6d0d9
Issue #23406 : Clarify documentation on multiplying a sequence
...
Patch from Matheus Vieira Portela.
2015-09-07 02:08:55 +00:00
Robert Collins
bd4dd54737
Issue #23589 : Remove duplicate sentence from the FAQ. Patch by Yongzhi Pan.
2015-07-30 06:14:32 +12:00
Serhiy Storchaka
03863d2b29
Fixed documentation of functions with const char* arguments.
2015-06-21 17:11:21 +03:00
Ned Deily
72c24002b3
Issue 24304: Fix broken license link in FAQ.
2015-05-27 15:37:00 -07:00
Terry Jan Reedy
d986563a06
Issue #22155 : Add File Handlers subsection with createfilehandler to tkinter
...
doc. Remove obsolete example from FAQ. Patch by Martin Panter.
2015-05-17 14:49:26 -04:00
Berker Peksag
9575e1891f
Issue #12955 : Change the urlopen() examples to use context managers where appropriate.
...
Patch by Martin Panter.
2015-04-12 13:52:49 +03:00