Fix Python3 compat in docs directory.

Update copyright.
This commit is contained in:
Jakob Stoklund Olesen
2016-08-25 11:55:57 -07:00
parent c251f26d0d
commit b788ab8020
3 changed files with 23 additions and 179 deletions

View File

@@ -9,6 +9,7 @@
# .. cton:inst:: v1, v2 = inst op1, op2
# Document an IR instruction.
#
from __future__ import absolute_import
import re
@@ -133,7 +134,8 @@ class CtonInst(CtonObject):
TypedField('result', label=l_('Results'),
names=('out', 'result'),
typerolename='type', typenames=('type',)),
GroupedField('typevar', names=('typevar',), label=l_('Type Variables')),
GroupedField(
'typevar', names=('typevar',), label=l_('Type Variables')),
GroupedField('flag', names=('flag',), label=l_('Flags')),
Field('resulttype', label=l_('Result type'), has_arg=False,
names=('rtype',)),