Show More
@@ -674,6 +674,8 b' def embedded(f, modname, src):' | |||
|
674 | 674 | # "starts" is "line number" (1-origin), but embedded() is |
|
675 | 675 | # expected to return "line offset" (0-origin). Therefore, this |
|
676 | 676 | # yields "starts - 1". |
|
677 | if not isinstance(modname, str): | |
|
678 | modname = modname.decode('utf8') | |
|
677 | 679 | yield code, "%s[%d]" % (modname, starts), name, starts - 1 |
|
678 | 680 | |
|
679 | 681 | def sources(f, modname): |
General Comments 0
You need to be logged in to leave comments.
Login now