fix reference to docutils PEPZeo

This commit is contained in:
Benjamin Peterson 2017-11-09 23:21:15 -08:00
parent cd78f23196
commit 1f6bc120cc
1 changed files with 1 additions and 1 deletions

View File

@ -374,7 +374,7 @@ class PEPHeaders(Transform):
'header.')
if pep == 0:
# Special processing for PEP 0.
pending = nodes.pending(PEPZero)
pending = nodes.pending(peps.PEPZero)
self.document.insert(1, pending)
self.document.note_pending(pending)
if len(header) < 2 or header[1][0].astext().lower() != 'title':