merge with 3.3

This commit is contained in:
Georg Brandl 2012-10-01 19:27:25 +02:00
commit ebe3224747
2 changed files with 2 additions and 2 deletions

View file

@ -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 []