|
OpenQuizz
Une application de gestion des contenus pédagogiques
|
Data Structures | |
| class | _CheckedMapTypeMeta |
| class | _CheckedTypeMeta |
| class | CheckedKeyTypeError |
| class | CheckedPMap |
| class | CheckedPSet |
| class | CheckedPVector |
| class | CheckedType |
| class | CheckedTypeError |
| class | CheckedValueTypeError |
| class | InvariantException |
Functions | |
| def | maybe_parse_user_type (t) |
| def | maybe_parse_many_user_types (ts) |
| def | wrap_invariant (invariant) |
| def | store_invariants (dct, bases, destination_name, source_name) |
| def | get_type (typ) |
| def | get_types (typs) |
| def | optional (*typs) |
| def pyrsistent._checked_types.get_type | ( | typ | ) |
| def pyrsistent._checked_types.get_types | ( | typs | ) |
| def pyrsistent._checked_types.maybe_parse_many_user_types | ( | ts | ) |
| def pyrsistent._checked_types.maybe_parse_user_type | ( | t | ) |
Try to coerce a user-supplied type directive into a list of types. This function should be used in all places where a user specifies a type, for consistency. The policy for what defines valid user input should be clear from the implementation.
| def pyrsistent._checked_types.optional | ( | * | typs | ) |
Convenience function to specify that a value may be of any of the types in type 'typs' or None
| def pyrsistent._checked_types.store_invariants | ( | dct, | |
| bases, | |||
| destination_name, | |||
| source_name | |||
| ) |
| def pyrsistent._checked_types.wrap_invariant | ( | invariant | ) |