diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-02-02 01:39:05 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-02-02 01:39:05 +0000 |
commit | fcc5224904648a8e6eb528d7603154160a20022f (patch) | |
tree | 3bfce096b38a9cea8eed13fc70c1526c456e9abd /dev-python/cerberus/files/cerberus-1.3.4-raw_docstrings.patch | |
parent | 2fd57282f0262ca084e05b0f2c63fbada395d02b (diff) |
gentoo resync : 02.02.2022
Diffstat (limited to 'dev-python/cerberus/files/cerberus-1.3.4-raw_docstrings.patch')
-rw-r--r-- | dev-python/cerberus/files/cerberus-1.3.4-raw_docstrings.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/dev-python/cerberus/files/cerberus-1.3.4-raw_docstrings.patch b/dev-python/cerberus/files/cerberus-1.3.4-raw_docstrings.patch new file mode 100644 index 000000000000..70ba15b0445f --- /dev/null +++ b/dev-python/cerberus/files/cerberus-1.3.4-raw_docstrings.patch @@ -0,0 +1,23 @@ +Addresses https://github.com/pyeve/cerberus/issues/568. +Backported upstream commit 5c267b554a39b5a8650659d3eea0cf383e47a166. + +--- a/cerberus/errors.py ++++ b/cerberus/errors.py +@@ -153,7 +153,7 @@ + + @property + def definitions_errors(self): +- """ ++ r""" + Dictionary with errors of an \*of-rule mapped to the index of the definition it + occurred in. Returns :obj:`None` if not applicable. + """ +@@ -181,7 +181,7 @@ + + @property + def is_logic_error(self): +- """ ++ r""" + ``True`` for validation errors against different schemas with \*of-rules. + """ + return bool(self.code & LOGICAL.code - ERROR_GROUP.code) |