===== Summary of methods.tsv: Methods used: used n 1 FALSE 253 2 TRUE 172 Methods by file (after filtering): file n 1 Python-2.7.13/Python/bltinmodule.c 21 2 Python-2.7.13/Modules/selectmodule.c 17 3 Python-2.7.13/Objects/stringobject.c 17 4 pyext/line_input.c 15 5 Python-2.7.13/Modules/cStringIO.c 14 6 Python-2.7.13/Objects/listobject.c 11 7 pyext/fastlex.c 10 8 pyext/libc.c 10 9 Python-2.7.13/Objects/dictobject.c 10 10 Python-2.7.13/Objects/fileobject.c 8 11 Python-2.7.13/Modules/zipimport.c 7 12 Python-2.7.13/Modules/timemodule.c 5 13 py-yajl/yajl.c 3 14 Python-2.7.13/Modules/pwdmodule.c 3 15 Python-2.7.13/Python/sysmodule.c 3 16 pyext/fanos.c 2 17 Python-2.7.13/Modules/signalmodule.c 2 18 Python-2.7.13/Modules/termios.c 2 19 Python-2.7.13/Objects/rangeobject.c 2 20 Python-2.7.13/Objects/setobject.c 2 21 Python-2.7.13/Modules/fcntlmodule.c 1 22 Python-2.7.13/Modules/resource.c 1 23 Python-2.7.13/Objects/descrobject.c 1 24 Python-2.7.13/Objects/enumobject.c 1 25 Python-2.7.13/Objects/iterobject.c 1 26 Python-2.7.13/Objects/tupleobject.c 1 27 Python-2.7.13/Objects/typeobject.c 1 28 Python-2.7.13/Python/marshal.c 1 -- Kept 172 of 425 methods in 28 files Methods by flag flags n 1 METH_VARARGS 194 2 METH_NOARGS 142 3 METH_O 55 4 METH_VARARGS | METH_KEYWORDS 18 5 METH_O | METH_COEXIST 4 6 METH_VARARGS | METH_CLASS 3 7 METH_O|METH_CLASS 2 8 METH_CLASS | METH_VARARGS 1 9 METH_NOARGS 1 10 METH_O 1 11 METH_O|METH_COEXIST 1 12 METH_VARARGS 1 13 METH_VARARGS|METH_CLASS 1 14 METH_VARARGS|METH_KEYWORDS 1 Methods to reimplement: basename py_method_name 1 bltinmodule.c __import__ 2 bltinmodule.c all 3 bltinmodule.c callable 4 bltinmodule.c chr 5 bltinmodule.c dir 6 bltinmodule.c getattr 7 bltinmodule.c hasattr 8 bltinmodule.c hash 9 bltinmodule.c id 10 bltinmodule.c isinstance 11 bltinmodule.c len 12 bltinmodule.c map 13 bltinmodule.c max 14 bltinmodule.c open 15 bltinmodule.c ord 16 bltinmodule.c print 17 bltinmodule.c raw_input 18 bltinmodule.c repr 19 bltinmodule.c setattr 20 bltinmodule.c sorted 21 bltinmodule.c sum 22 cStringIO.c close 23 cStringIO.c close 24 cStringIO.c flush 25 cStringIO.c flush 26 cStringIO.c getvalue 27 cStringIO.c getvalue 28 cStringIO.c isatty 29 cStringIO.c isatty 30 cStringIO.c read 31 cStringIO.c read 32 cStringIO.c readline 33 cStringIO.c readline 34 cStringIO.c StringIO 35 cStringIO.c write 36 descrobject.c keys 37 dictobject.c __getitem__ 38 dictobject.c clear 39 dictobject.c get 40 dictobject.c items 41 dictobject.c iteritems 42 dictobject.c keys 43 dictobject.c pop 44 dictobject.c update 45 dictobject.c values 46 fanos.c recv 47 fanos.c send 48 fcntlmodule.c fcntl 49 fileobject.c __enter__ 50 fileobject.c __exit__ 51 fileobject.c close 52 fileobject.c flush 53 fileobject.c isatty 54 fileobject.c read 55 fileobject.c readline 56 fileobject.c write 57 line_input.c add_history 58 line_input.c clear_history 59 line_input.c get_begidx 60 line_input.c get_current_history_length 61 line_input.c get_endidx 62 line_input.c get_history_item 63 line_input.c get_line_buffer 64 line_input.c parse_and_bind 65 line_input.c read_history_file 66 line_input.c remove_history_item 67 line_input.c resize_terminal 68 line_input.c set_completer 69 line_input.c set_completer_delims 70 line_input.c set_completion_display_matches_hook 71 line_input.c write_history_file 72 listobject.c __getitem__ 73 listobject.c __reversed__ 74 listobject.c append 75 listobject.c extend 76 listobject.c index 77 listobject.c pop 78 listobject.c remove 79 listobject.c reverse 80 listobject.c sort 81 marshal.c loads 82 pwdmodule.c getpwall 83 pwdmodule.c getpwnam 84 pwdmodule.c getpwuid 85 rangeobject.c __reversed__ 86 resource.c getrusage 87 selectmodule.c close 88 selectmodule.c close 89 selectmodule.c control 90 selectmodule.c fileno 91 selectmodule.c fileno 92 selectmodule.c fromfd 93 selectmodule.c fromfd 94 selectmodule.c modify 95 selectmodule.c modify 96 selectmodule.c poll 97 selectmodule.c poll 98 selectmodule.c poll 99 selectmodule.c register 100 selectmodule.c register 101 selectmodule.c select 102 selectmodule.c unregister 103 selectmodule.c unregister 104 signalmodule.c default_int_handler 105 signalmodule.c signal 106 stringobject.c endswith 107 stringobject.c find 108 stringobject.c index 109 stringobject.c isdigit 110 stringobject.c isupper 111 stringobject.c join 112 stringobject.c ljust 113 stringobject.c lower 114 stringobject.c replace 115 stringobject.c rfind 116 stringobject.c rjust 117 stringobject.c rstrip 118 stringobject.c split 119 stringobject.c splitlines 120 stringobject.c startswith 121 stringobject.c strip 122 stringobject.c upper 123 sysmodule.c displayhook 124 sysmodule.c excepthook 125 sysmodule.c exit 126 termios.c tcgetattr 127 termios.c tcsetattr 128 timemodule.c localtime 129 timemodule.c sleep 130 timemodule.c strftime 131 timemodule.c time 132 timemodule.c tzset 133 typeobject.c __new__ 134 yajl.c dumps 135 yajl.c load 136 yajl.c loads -- Total: 136 methods