##// END OF EJS Templates
Python 3 print functions...
MinRK -
Show More
@@ -63,4 +63,4 if __name__ == '__main__':
63 63 docwriter.write_index(outdir, 'gen.rst',
64 64 relative_to = pjoin('source','api')
65 65 )
66 print '%d files written' % len(docwriter.written_modules)
66 print ('%d files written' % len(docwriter.written_modules))
@@ -17,6 +17,8 NOTE: this is a modified version of a script originally shipped with the
17 17 PyMVPA project, which we've adapted for NIPY use. PyMVPA is an MIT-licensed
18 18 project."""
19 19
20 from __future__ import print_function
21
20 22 # Stdlib imports
21 23 import ast
22 24 import os
@@ -210,7 +212,7 class ApiDocWriter(object):
210 212 # get the names of all classes and functions
211 213 functions, classes = self._parse_module(uri)
212 214 if not len(functions) and not len(classes):
213 print 'WARNING: Empty -',uri # dbg
215 print ('WARNING: Empty -', uri) # dbg
214 216 return ''
215 217
216 218 # Make a shorter version of the uri that omits the package name for
General Comments 0
You need to be logged in to leave comments. Login now