diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2025-06-05 20:29:07 +0200 |
|---|---|---|
| committer | Jussi Pakkanen <jussi.pakkanen@mailbox.org> | 2025-06-18 21:33:19 +0300 |
| commit | 8394979c67e6eed06775c366f7b44a545aed72df (patch) | |
| tree | 049586f8897f9d0fd0435af20f6432d3d6ce555b | |
| parent | 3317afe72da7798cbbefa55bf41f92f45e0fc91d (diff) | |
| download | meson-8394979c67e6eed06775c366f7b44a545aed72df.tar.gz | |
options: use nicer type annotation T.Container
Suggested-by: Dylan Baker <dylan@pnwbakers.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
| -rw-r--r-- | mesonbuild/options.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/options.py b/mesonbuild/options.py index e999c61ee..0065e9edf 100644 --- a/mesonbuild/options.py +++ b/mesonbuild/options.py @@ -1362,7 +1362,7 @@ class OptionStore: else: self.pending_options[key] = valstr - def accept_as_pending_option(self, key: OptionKey, known_subprojects: T.Optional[T.Union[T.Set[str], T.KeysView[str]]] = None, + def accept_as_pending_option(self, key: OptionKey, known_subprojects: T.Optional[T.Container[str]] = None, first_invocation: bool = False) -> bool: # Fail on unknown options that we can know must exist at this point in time. # Subproject and compiler options are resolved later. |
