mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
merge with 3.3
This commit is contained in:
commit
ebe3224747
2 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@
|
|||
{% block extrahead %}
|
||||
<link rel="shortcut icon" type="image/png" href="{{ pathto('_static/py.png', 1) }}" />
|
||||
{% if not embedded %}<script type="text/javascript" src="{{ pathto('_static/copybutton.js', 1) }}"></script>{% endif %}
|
||||
{% if pagename == 'whatsnew/news' %}
|
||||
{% if pagename == 'whatsnew/changelog %}
|
||||
<script type="text/javascript">
|
||||
function dofilter() {
|
||||
var el = document.getElementById('searchbox');
|
||||
|
|
|
@ -181,7 +181,7 @@ class MiscNews(Directive):
|
|||
content)
|
||||
content = whatsnew_re.sub(r'\1', content)
|
||||
# remove first 3 lines as they are the main heading
|
||||
lines = content.splitlines()[3:]
|
||||
lines = ['.. default-role:: obj', ''] + content.splitlines()[3:]
|
||||
self.state_machine.insert_input(lines, fname)
|
||||
return []
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue