equal
deleted
inserted
replaced
63 `localmods` is a dict (or set), of which key is an absolute |
63 `localmods` is a dict (or set), of which key is an absolute |
64 `dotted_name_of_path()`-ed source file path of locally defined (= |
64 `dotted_name_of_path()`-ed source file path of locally defined (= |
65 Mercurial specific) modules. |
65 Mercurial specific) modules. |
66 |
66 |
67 This function assumes that module names not existing in |
67 This function assumes that module names not existing in |
68 `localmods` are ones of Python standard libarary. |
68 `localmods` are from the Python standard library. |
69 |
69 |
70 This function returns the function, which takes `name` argument, |
70 This function returns the function, which takes `name` argument, |
71 and returns `(absname, dottedpath, hassubmod)` tuple if `name` |
71 and returns `(absname, dottedpath, hassubmod)` tuple if `name` |
72 matches against locally defined module. Otherwise, it returns |
72 matches against locally defined module. Otherwise, it returns |
73 False. |
73 False. |