[3.6] bpo-30380: Fix Sphinx 1.6.1 warnings. (GH-1613) (#1614) · python/cpython@8fc1ff5 (original) (raw)

`@@ -106,7 +106,7 @@ howto/pyporting,,::,Programming Language :: Python :: 2

`

106

106

`howto/pyporting,,::,Programming Language :: Python :: 3

`

107

107

`howto/regex,,::,

`

108

108

`howto/regex,,:foo,(?:foo)

`

109

``

`-

howto/urllib2,,:password,"for example ""joe:password@example.com"""

`

``

109

`+

howto/urllib2,,:password,"""joe:password@example.com"""

`

110

110

`library/audioop,,:ipos,"# factor = audioop.findfactor(in_test[ipos2:ipos2+len(out_test)],"

`

111

111

`library/bisect,32,:hi,all(val >= x for val in a[i:hi])

`

112

112

`library/bisect,42,:hi,all(val > x for val in a[i:hi])

`

`@@ -316,8 +316,8 @@ library/xml.etree.elementtree,,:actor,"for actor in root.findall('real_person:ac

`

316

316

`library/xml.etree.elementtree,,:name,"name = actor.find('real_person:name', ns)"

`

317

317

`library/xml.etree.elementtree,,:character,"for char in actor.findall('role:character', ns):"

`

318

318

`library/zipapp,,:main,"$ python -m zipapp myapp -m ""myapp:main"""

`

319

``

`-

library/zipapp,,:fn,"argument should have the form ""pkg.mod:fn"", where ""pkg.mod"" is a"

`

320

``

`-

library/zipapp,,:callable,"""pkg.module:callable"" and the archive will be run by importing"

`

``

319

`+

library/zipapp,,:fn,"pkg.mod:fn"

`

``

320

`+

library/zipapp,,:callable,"pkg.module:callable"

`

321

321

`library/stdtypes,,::,>>> m[::2].tolist()

`

322

322

``` library/sys,,`,# wrapper creates a wrap(coro) coroutine:

```

323

323

`whatsnew/3.5,,:root,'WARNING:root:warning\n'

`

`@@ -326,4 +326,3 @@ whatsnew/3.5,,::,>>> addr6 = ipaddress.IPv6Address('::1')

`

326

326

`whatsnew/3.5,,:root,ERROR:root:exception

`

327

327

`whatsnew/3.5,,:exception,ERROR:root:exception

`

328

328

`whatsnew/changelog,,:version,import sys; I = version[:version.index(' ')]

`

329

``

`` -

whatsnew/changelog,,,"for readability (was """")."

``