| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 94efdc2 commit 833a74f
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -158,7 +158,7 @@ def _get_context_completions(self): | |||
| 158 | 158 | # No completions for ``with x as foo`` and ``import x as foo``. | |
| 159 | 159 | # Also true for defining names as a class or function. | |
| 160 | 160 | return list(self._get_class_context_completions(is_function=True)) | |
| 161 | - elif symbol_names[-1] == 'trailer' and nodes[-1] == '.': | ||
| 161 | + elif symbol_names[-1] in ('trailer', 'dotted_name') and nodes[-1] == '.': | ||
| 162 | 162 | dot = self._module.get_leaf_for_position(self._position) | |
| 163 | 163 | atom_expr = call_of_leaf(dot.get_previous_leaf()) | |
| 164 | 164 | completion_names += self._trailer_completions(atom_expr) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments