]> granicus.if.org Git - python/commit
bpo-29521 Fix two minor documentation build warnings (#41) (#84)
authorMariatta <Mariatta@users.noreply.github.com>
Tue, 14 Feb 2017 16:54:22 +0000 (08:54 -0800)
committerGitHub <noreply@github.com>
Tue, 14 Feb 2017 16:54:22 +0000 (08:54 -0800)
commit38c8354f3204441f6c6bd22213b449d2d8954fcc
treef8d037cacfa5ae64f2423191c0616ea30a280a94
parentc0f9014a51593b2d58721819f8686f96dce5be71
bpo-29521 Fix two minor documentation build warnings (#41) (#84)

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 3d707be950b387552585451071928e7b39cdfa53)
Doc/faq/windows.rst
Doc/make.bat