OpenQuizz
Une application de gestion des contenus pédagogiques
pyrsistent.typing Namespace Reference

Data Structures

class  CheckedPMap
 
class  CheckedPSet
 
class  CheckedPVector
 
class  PBag
 
class  PDeque
 
class  PList
 
class  PMap
 
class  PMapEvolver
 
class  PSet
 
class  PSetEvolver
 
class  PVector
 
class  PVectorEvolver
 

Variables

 T
 
 KT
 
 VT
 

Detailed Description

Helpers for use with type annotation.

Use the empty classes in this module when annotating the types of Pyrsistent
objects, instead of using the actual collection class.

For example,

    from pyrsistent import pvector
    from pyrsistent.typing import PVector

    myvector: PVector[str] = pvector(['a', 'b', 'c'])

Variable Documentation

◆ KT

KT

◆ T

T

◆ VT

VT