| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -83,11 +83,8 @@ def attr_matches(cw, prefix="", only_modules=False): | |||
| 83 | 83 | matches = ( | |
| 84 | 84 | name | |
| 85 | 85 | for name in dir(module) | |
| 86 | - if ( | ||
| 87 | - name.startswith(name_after_dot) | ||
| 88 | - and "%s.%s" % (module_name, name) | ||
| 89 | - ) | ||
| 90 | - in sys.modules | ||
| 86 | + if name.startswith(name_after_dot) | ||
| 87 | + and "%s.%s" % (module_name, name) in sys.modules | ||
| 91 | 88 | ) | |
| 92 | 89 | else: | |
| 93 | 90 | matches = ( | |
| Back | FazBrowse Home | New Git URL |
0 commit comments