Part of bzrlib.lazy_import View In Hierarchy
Method | __init__ | Undocumented |
Method | lazy_import | Convert the given text into a bunch of lazy import objects. |
Method | _convert_imports | Undocumented |
Method | _build_map | Take a string describing imports, and build up the internal map |
Method | _convert_import_str | This converts a import string into an import map. |
Method | _convert_from_str | This converts a 'from foo import bar' string into an import map. |
Method | _canonicalize_import_text | Take a list of imports, and split it into regularized form. |
This takes a text string, which should be similar to normal python import markup.
This only understands 'import foo, foo.bar, foo.bar.baz as bing'
Parameters | import_str | The import string to process |