CONTRIBUTIONS ONLY: Voluptuous, despite the name, is a Python data validation library.
BSD 3-Clause "New" or "Revised" License
1.81k
stars
219
forks
source link
Drop duplicated type checks in Schema._compile #495
Closed
emontnemery closed 9 months ago
Schema._compile calls
isinstance
to check forlist
andMapping
, hence the check further down testing forlist
ordict
can never be True.