Ignore:
Timestamp:
Nov 29, 2017 10:38:49 PM (4 years ago)
Author:
toby
Message:

Misc Py3 fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/docs/find_undoc.py

    r2027 r3166  
    3636        continue
    3737    else:
    38         print fil+' undocumented'
     38        print(fil+' undocumented')
    3939        undoc.append(fil)
    4040# generate code to place in a .rst file
    4141if undoc:
    42     print "\n# place this code somewhere in the .rst files\n#"
     42    print("\n# place this code somewhere in the .rst files\n#")
    4343for fil in undoc:
    44     print ".. automodule:: "+os.path.splitext(os.path.split(fil)[1])[0]
    45     print "    :members: "
    46     print ""
     44    print(".. automodule:: "+os.path.splitext(os.path.split(fil)[1])[0])
     45    print("    :members: ")
     46    print("")
Note: See TracChangeset for help on using the changeset viewer.