[Doc]: fix typos in Python comments (#24173)

Signed-off-by: Didier Durand <durand.didier@gmail.com>
Co-authored-by: Russell Bryant <rbryant@redhat.com>
Co-authored-by: Wentao Ye <44945378+yewentao256@users.noreply.github.com>
This commit is contained in:
Didier Durand
2025-09-04 08:52:17 -07:00
committed by GitHub
co-authored by Russell Bryant Wentao Ye
parent e41a0fa377
commit 83609ca91d
12 changed files with 13 additions and 13 deletions
@@ -128,7 +128,7 @@ class QuantizationConfig(ABC):
@staticmethod
def get_from_keys_or(config: dict[str, Any], keys: list[str],
default: Any) -> Any:
"""Get a optional value from the model's quantization config."""
"""Get an optional value from the model's quantization config."""
try:
return QuantizationConfig.get_from_keys(config, keys)
except ValueError: