891 return c |
891 return c |
892 |
892 |
893 |
893 |
894 def linestarts(co, filename="", getall=True): |
894 def linestarts(co, filename="", getall=True): |
895 """ |
895 """ |
896 Function to get the line starts for the given code object |
896 Function to get the line starts for the given code object. |
897 |
897 |
898 @param co reference to the compiled code object or the source code |
898 @param co reference to the compiled code object or the source code |
899 @type code object or str |
899 @type code object or str |
900 @param filename name of the source file (optional) |
900 @param filename name of the source file (optional) |
901 @type str |
901 @type str |