diff options
| author | Dan Halbert <halbert@halwitz.org> | 2020-04-30 00:54:46 -0400 |
|---|---|---|
| committer | Dan Halbert <halbert@halwitz.org> | 2020-04-30 00:54:46 -0400 |
| commit | 7337ea4955132db7006727b2da3f0e8fe834b475 (patch) | |
| tree | 0b87632976689cd660af298928763ab5a439daa5 /docs | |
| parent | 46298ddcb4c96f7d8a6911bda46eabbe935e5670 (diff) | |
fix support_matrix.py to handle ?=
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/shared_bindings_matrix.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/shared_bindings_matrix.py b/docs/shared_bindings_matrix.py index d5f838f75..aa5ef02e2 100644 --- a/docs/shared_bindings_matrix.py +++ b/docs/shared_bindings_matrix.py @@ -98,7 +98,7 @@ def build_module_map(): for module in modules: full_name = module search_name = module.lstrip("_") - re_pattern = "CIRCUITPY_{}\s=\s(.+)".format(search_name.upper()) + re_pattern = "CIRCUITPY_{}\s*\??=\s*(.+)".format(search_name.upper()) find_config = re.findall(re_pattern, configs) if not find_config: continue |
