Commit a97b5794 authored by Davis King's avatar Davis King

Another minor change for python 2.6 compatibility.

parent a6c9767e
...@@ -13,7 +13,7 @@ def make_listing_files(): ...@@ -13,7 +13,7 @@ def make_listing_files():
name = 'dlib.'+obj name = 'dlib.'+obj
isclass = inspect.isclass(eval(name)) isclass = inspect.isclass(eval(name))
if (isclass): if (isclass):
print("* :class:`{}`".format(name), file=fc) print("* :class:`{0}`".format(name), file=fc)
else: else:
print("* :func:`{}`".format(name), file=ff) print("* :func:`{0}`".format(name), file=ff)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment