diff options
author | Julian Berman <Julian@GrayVines.com> | 2021-07-09 18:08:06 +0200 |
---|---|---|
committer | Julian Berman <Julian@GrayVines.com> | 2021-07-09 18:08:06 +0200 |
commit | a72044e55fd327c40c560aca7784441e8a4fc5c5 (patch) | |
tree | b970c5ad83cc40958a856cee196339a82738595f | |
parent | 7b9b5c37257f6624ccb20860f1329e9eb86d83dd (diff) | |
download | jsonschema-a72044e55fd327c40c560aca7784441e8a4fc5c5.tar.gz |
Minor rewording of the docstring.
-rw-r--r-- | jsonschema/_utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jsonschema/_utils.py b/jsonschema/_utils.py index c6e9805..97b7f8f 100644 --- a/jsonschema/_utils.py +++ b/jsonschema/_utils.py @@ -211,8 +211,8 @@ def uniq(container): """ Check if all of a container's elements are unique. - Successively tries first to rely that the elements are being sortable - and finally falls back on brute force. + Tries to rely on the container being recursively sortable, or otherwise + falls back on (slow) brute force. """ try: sort = sorted(unbool(i) for i in container) |