D[k] if k in D, else d
|
_getName(D,
k,
d=...)
d defaults to None. |
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__init__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|
|
RELAXNG_ERR_ATTREXTRANS = 20
|
|
RELAXNG_ERR_ATTRNAME = 14
|
|
RELAXNG_ERR_ATTRNONS = 16
|
|
RELAXNG_ERR_ATTRVALID = 24
|
|
RELAXNG_ERR_ATTRWRONGNS = 18
|
|
RELAXNG_ERR_CONTENTVALID = 25
|
|
RELAXNG_ERR_DATAELEM = 28
|
|
RELAXNG_ERR_DATATYPE = 31
|
|
RELAXNG_ERR_DUPID = 4
|
|
RELAXNG_ERR_ELEMEXTRANS = 19
|
|
RELAXNG_ERR_ELEMNAME = 13
|
|
RELAXNG_ERR_ELEMNONS = 15
|
|
RELAXNG_ERR_ELEMNOTEMPTY = 21
|
|
RELAXNG_ERR_ELEMWRONG = 38
|
|
RELAXNG_ERR_ELEMWRONGNS = 17
|
|
RELAXNG_ERR_EXTRACONTENT = 26
|
|
RELAXNG_ERR_EXTRADATA = 35
|
|
RELAXNG_ERR_INTEREXTRA = 12
|
|
RELAXNG_ERR_INTERNAL = 37
|
|
RELAXNG_ERR_INTERNODATA = 10
|
|
RELAXNG_ERR_INTERSEQ = 11
|
|
RELAXNG_ERR_INVALIDATTR = 27
|
|
RELAXNG_ERR_LACKDATA = 36
|
|
RELAXNG_ERR_LIST = 33
|
|
RELAXNG_ERR_LISTELEM = 30
|
|
RELAXNG_ERR_LISTEMPTY = 9
|
|
RELAXNG_ERR_LISTEXTRA = 8
|
|
RELAXNG_ERR_MEMORY = 1
|
|
RELAXNG_ERR_NODEFINE = 7
|
|
RELAXNG_ERR_NOELEM = 22
|
|
RELAXNG_ERR_NOGRAMMAR = 34
|
|
RELAXNG_ERR_NOSTATE = 6
|
|
RELAXNG_ERR_NOTELEM = 23
|
|
RELAXNG_ERR_TEXTWRONG = 39
|
|
RELAXNG_ERR_TYPE = 2
|
|
RELAXNG_ERR_TYPECMP = 5
|
|
RELAXNG_ERR_TYPEVAL = 3
|
|
RELAXNG_ERR_VALELEM = 29
|
|
RELAXNG_ERR_VALUE = 32
|
|
RELAXNG_OK = 0
|
|
__qualname__ = ' RelaxNGErrorTypes '
|
|
_names = { 0: u' RELAXNG_OK ' , 1: u' RELAXNG_ERR_MEMORY ' , 2: u' REL ...
|