changed to new octal literal format (in 3 modules)

2 modules were changed by the 2to3 tool.
The other required change was found in a doc-test.

13 further modules were checked to find, that the suspicious strings were
either in output or in comments.
Build documentation for a single Python file
Merge branch 'u/jhpalmieri/sphinx-single-file' of git://trac.sagemath.org/sage into develop
Sphinx single-file: more documentation, option to save output elsewhere
trac #17111: Sage is missing one letter
trac #17111: Merged with beta5
trac #17111: Broken doctest
Trac #15987: Python 3 preparation: Change syntax of octal integer literals

The deprecated syntax is not accepted by Python 3.

Changes according to {{{lib2to3/fixes/fix_numliterals.py}}}:
{{{
0755 into 0o755
}}}

This ticket is tracked as a dependency of meta-ticket ticket:16052.

URL: http://trac.sagemath.org/15987
Reported by: wluebbe
Ticket author(s): Wilfried Luebbe
Reviewer(s): Jeroen Demeyer
Trac #17111: Sage is missing one letter

After #17034 Sage reports :

{{{
sage: designs.orthogonal_arrays.explain_construction(10,154)
'the database contains a (154,10;1,0;17)-quasi difference matrix'
}}}

But we have no `(154,10;1,0;17)`-QDM. Here is what it should be:

{{{
sage: designs.orthogonal_arrays.explain_construction(10,154)
'the database contains a (137,10;1,0;17)-quasi difference matrix'
}}}

And this is because of a missing 'n'

Nathann

URL: http://trac.sagemath.org/17111
Reported by: ncohen
Ticket author(s): Nathann Cohen
Reviewer(s): Vincent Delecroix
Trac #13679: Build sphinx docs for a single file

The patch here implements
{{{
sage --docbuild file=/path/to/foo.py TYPE
}}}
where `TYPE` may be any of the standard documentation types (e.g., html
or pdf). This lets you build the docs for a file inside or outside the
Sage library. It doesn't work for .sage or .pyx files right now, only
.py files.

URL: http://trac.sagemath.org/13679
Reported by: jhpalmieri
Ticket author(s): John Palmieri
Reviewer(s): Volker Braun