Another minor change for python 2.6 compatibility.

This commit is contained in:
Davis King 2013-07-08 21:33:49 -04:00
parent a6c9767e6b
commit a97b5794d3
1 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ def make_listing_files():
name = 'dlib.'+obj
isclass = inspect.isclass(eval(name))
if (isclass):
print("* :class:`{}`".format(name), file=fc)
print("* :class:`{0}`".format(name), file=fc)
else:
print("* :func:`{}`".format(name), file=ff)
print("* :func:`{0}`".format(name), file=ff)