diff options
author | Julian Berman <Julian@GrayVines.com> | 2021-08-25 10:53:05 +0100 |
---|---|---|
committer | Julian Berman <Julian@GrayVines.com> | 2021-08-25 10:53:05 +0100 |
commit | f27e7dc1ad37fbbc5161a60c7c7f7c257613ee49 (patch) | |
tree | 6867ae02be811ed60d9971e653a131e2d773a98e /jsonschema | |
parent | 9e0035e08de16c217f0dd7a4e44d92d6395bd06f (diff) | |
download | jsonschema-f27e7dc1ad37fbbc5161a60c7c7f7c257613ee49.tar.gz |
Remove dead code.
Diffstat (limited to 'jsonschema')
-rw-r--r-- | jsonschema/_format.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/jsonschema/_format.py b/jsonschema/_format.py index 31f5b5e..c6a0d05 100644 --- a/jsonschema/_format.py +++ b/jsonschema/_format.py @@ -383,11 +383,6 @@ with suppress(ImportError): return True return is_css_color_code(instance) - def is_css3_color(instance): - if instance.lower() in webcolors.css3_names_to_hex: - return True - return is_css_color_code(instance) - with suppress(ImportError): import jsonpointer |