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

Data Structures

class  PVector
 
class  PythonPVector
 

Functions

def compare_pvector (v, other, operator)
 
def python_pvector (iterable=())
 
def v (*elements)
 

Variables

 BRANCH_FACTOR
 
 BIT_MASK
 
 SHIFT
 
 pvector
 

Function Documentation

◆ compare_pvector()

def pyrsistent._pvector.compare_pvector (   v,
  other,
  operator 
)

◆ python_pvector()

def pyrsistent._pvector.python_pvector (   iterable = ())
Create a new persistent vector containing the elements in iterable.

>>> v1 = pvector([1, 2, 3])
>>> v1
pvector([1, 2, 3])

◆ v()

def pyrsistent._pvector.v ( elements)
Create a new persistent vector containing all parameters to this function.

>>> v1 = v(1, 2, 3)
>>> v1
pvector([1, 2, 3])

Variable Documentation

◆ BIT_MASK

BIT_MASK

◆ BRANCH_FACTOR

BRANCH_FACTOR

◆ pvector

pvector

◆ SHIFT

SHIFT