mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-03 04:37:06 -08:00
Closes: https://bugs.gentoo.org/738452 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: David Seifert <soap@gentoo.org>
12 lines
193 B
Diff
12 lines
193 B
Diff
--- a/voluptuous/util.py
|
|
+++ b/voluptuous/util.py
|
|
@@ -87,7 +87,7 @@
|
|
>>> s = Schema(validators.Any(int, SetTo(42)))
|
|
>>> s(2)
|
|
2
|
|
- >>> s("foo")
|
|
+ >>> s(42)
|
|
42
|
|
"""
|
|
|