| OLD | NEW |
| (Empty) |
| 1 | |
| 2 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> | |
| 3 <html><head><title>Python: module telemetry.value.none_values</title> | |
| 4 <meta charset="utf-8"> | |
| 5 </head><body bgcolor="#f0f0f8"> | |
| 6 | |
| 7 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> | |
| 8 <tr bgcolor="#7799ee"> | |
| 9 <td valign=bottom> <br> | |
| 10 <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a hre
f="telemetry.html"><font color="#ffffff">telemetry</font></a>.<a href="telemetry
.value.html"><font color="#ffffff">value</font></a>.none_values</strong></big></
big></font></td | |
| 11 ><td align=right valign=bottom | |
| 12 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href=
"../telemetry/value/none_values.py">telemetry/value/none_values.py</a></font></t
d></tr></table> | |
| 13 <p><tt># Copyright 2014 The Chromium Authors.
All rights reserved.<br> | |
| 14 # Use of this source code is governed by
a BSD-style license that can be<br> | |
| 15 # found in the LICENSE file.</tt></p> | |
| 16 <p> | |
| 17 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | |
| 18 <tr bgcolor="#ee77aa"> | |
| 19 <td colspan=3 valign=bottom> <br> | |
| 20 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big
></font></td></tr> | |
| 21 | |
| 22 <tr><td bgcolor="#ee77aa"><tt> </tt></td><td>
</td> | |
| 23 <td width="100%"><dl> | |
| 24 <dt><font face="helvetica, arial"><a href="exceptions.html#Exception">exceptions
.Exception</a>(<a href="exceptions.html#BaseException">exceptions.BaseException<
/a>) | |
| 25 </font></dt><dd> | |
| 26 <dl> | |
| 27 <dt><font face="helvetica, arial"><a href="telemetry.value.none_values.html#None
ValueMissingReason">NoneValueMissingReason</a> | |
| 28 </font></dt><dt><font face="helvetica, arial"><a href="telemetry.value.none_valu
es.html#ValueMustHaveNoneValue">ValueMustHaveNoneValue</a> | |
| 29 </font></dt></dl> | |
| 30 </dd> | |
| 31 </dl> | |
| 32 <p> | |
| 33 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | |
| 34 <tr bgcolor="#ffc8d8"> | |
| 35 <td colspan=3 valign=bottom> <br> | |
| 36 <font color="#000000" face="helvetica, arial"><a name="NoneValueMissingReason">c
lass <strong>NoneValueMissingReason</strong></a>(<a href="exceptions.html#Except
ion">exceptions.Exception</a>)</font></td></tr> | |
| 37 | |
| 38 <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> | |
| 39 <td width="100%"><dl><dt>Method resolution order:</dt> | |
| 40 <dd><a href="telemetry.value.none_values.html#NoneValueMissingReason">NoneValueM
issingReason</a></dd> | |
| 41 <dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd> | |
| 42 <dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd> | |
| 43 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> | |
| 44 </dl> | |
| 45 <hr> | |
| 46 Data descriptors defined here:<br> | |
| 47 <dl><dt><strong>__weakref__</strong></dt> | |
| 48 <dd><tt>list of weak references to the object 
;(if defined)</tt></dd> | |
| 49 </dl> | |
| 50 <hr> | |
| 51 Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception<
/a>:<br> | |
| 52 <dl><dt><a name="NoneValueMissingReason-__init__"><strong>__init__</strong></a>(
...)</dt><dd><tt>x.<a href="#NoneValueMissingReason-__init__">__init__</a>(...)&
nbsp;initializes x; see help(type(x)) for signature</tt
></dd></dl> | |
| 53 | |
| 54 <hr> | |
| 55 Data and other attributes inherited from <a href="exceptions.html#Exception">exc
eptions.Exception</a>:<br> | |
| 56 <dl><dt><strong>__new__</strong> = <built-in method __new__ of type object>
;<dd><tt>T.<a href="#NoneValueMissingReason-__new__">__new__</a>(S, ...)&nb
sp;-> a new object with type S, a sub
type of T</tt></dl> | |
| 57 | |
| 58 <hr> | |
| 59 Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseEx
ception</a>:<br> | |
| 60 <dl><dt><a name="NoneValueMissingReason-__delattr__"><strong>__delattr__</strong
></a>(...)</dt><dd><tt>x.<a href="#NoneValueMissingReason-__delattr__">__delattr
__</a>('name') <==> del x.name</tt></dd></dl> | |
| 61 | |
| 62 <dl><dt><a name="NoneValueMissingReason-__getattribute__"><strong>__getattribute
__</strong></a>(...)</dt><dd><tt>x.<a href="#NoneValueMissingReason-__getattribu
te__">__getattribute__</a>('name') <==> x.name</tt></dd></dl> | |
| 63 | |
| 64 <dl><dt><a name="NoneValueMissingReason-__getitem__"><strong>__getitem__</strong
></a>(...)</dt><dd><tt>x.<a href="#NoneValueMissingReason-__getitem__">__getitem
__</a>(y) <==> x[y]</tt></dd></dl> | |
| 65 | |
| 66 <dl><dt><a name="NoneValueMissingReason-__getslice__"><strong>__getslice__</stro
ng></a>(...)</dt><dd><tt>x.<a href="#NoneValueMissingReason-__getslice__">__gets
lice__</a>(i, j) <==> x[i:j]<br> | |
| 67 <br> | |
| 68 Use of negative indices is not supported.</tt></dd
></dl> | |
| 69 | |
| 70 <dl><dt><a name="NoneValueMissingReason-__reduce__"><strong>__reduce__</strong><
/a>(...)</dt></dl> | |
| 71 | |
| 72 <dl><dt><a name="NoneValueMissingReason-__repr__"><strong>__repr__</strong></a>(
...)</dt><dd><tt>x.<a href="#NoneValueMissingReason-__repr__">__repr__</a>()&nbs
p;<==> repr(x)</tt></dd></dl> | |
| 73 | |
| 74 <dl><dt><a name="NoneValueMissingReason-__setattr__"><strong>__setattr__</strong
></a>(...)</dt><dd><tt>x.<a href="#NoneValueMissingReason-__setattr__">__setattr
__</a>('name', value) <==> x.name = value</tt></d
d></dl> | |
| 75 | |
| 76 <dl><dt><a name="NoneValueMissingReason-__setstate__"><strong>__setstate__</stro
ng></a>(...)</dt></dl> | |
| 77 | |
| 78 <dl><dt><a name="NoneValueMissingReason-__str__"><strong>__str__</strong></a>(..
.)</dt><dd><tt>x.<a href="#NoneValueMissingReason-__str__">__str__</a>() &l
t;==> str(x)</tt></dd></dl> | |
| 79 | |
| 80 <dl><dt><a name="NoneValueMissingReason-__unicode__"><strong>__unicode__</strong
></a>(...)</dt></dl> | |
| 81 | |
| 82 <hr> | |
| 83 Data descriptors inherited from <a href="exceptions.html#BaseException">exceptio
ns.BaseException</a>:<br> | |
| 84 <dl><dt><strong>__dict__</strong></dt> | |
| 85 </dl> | |
| 86 <dl><dt><strong>args</strong></dt> | |
| 87 </dl> | |
| 88 <dl><dt><strong>message</strong></dt> | |
| 89 </dl> | |
| 90 </td></tr></table> <p> | |
| 91 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | |
| 92 <tr bgcolor="#ffc8d8"> | |
| 93 <td colspan=3 valign=bottom> <br> | |
| 94 <font color="#000000" face="helvetica, arial"><a name="ValueMustHaveNoneValue">c
lass <strong>ValueMustHaveNoneValue</strong></a>(<a href="exceptions.html#Except
ion">exceptions.Exception</a>)</font></td></tr> | |
| 95 | |
| 96 <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> | |
| 97 <td width="100%"><dl><dt>Method resolution order:</dt> | |
| 98 <dd><a href="telemetry.value.none_values.html#ValueMustHaveNoneValue">ValueMustH
aveNoneValue</a></dd> | |
| 99 <dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd> | |
| 100 <dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd> | |
| 101 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> | |
| 102 </dl> | |
| 103 <hr> | |
| 104 Data descriptors defined here:<br> | |
| 105 <dl><dt><strong>__weakref__</strong></dt> | |
| 106 <dd><tt>list of weak references to the object 
;(if defined)</tt></dd> | |
| 107 </dl> | |
| 108 <hr> | |
| 109 Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception<
/a>:<br> | |
| 110 <dl><dt><a name="ValueMustHaveNoneValue-__init__"><strong>__init__</strong></a>(
...)</dt><dd><tt>x.<a href="#ValueMustHaveNoneValue-__init__">__init__</a>(...)&
nbsp;initializes x; see help(type(x)) for signature</tt
></dd></dl> | |
| 111 | |
| 112 <hr> | |
| 113 Data and other attributes inherited from <a href="exceptions.html#Exception">exc
eptions.Exception</a>:<br> | |
| 114 <dl><dt><strong>__new__</strong> = <built-in method __new__ of type object>
;<dd><tt>T.<a href="#ValueMustHaveNoneValue-__new__">__new__</a>(S, ...)&nb
sp;-> a new object with type S, a sub
type of T</tt></dl> | |
| 115 | |
| 116 <hr> | |
| 117 Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseEx
ception</a>:<br> | |
| 118 <dl><dt><a name="ValueMustHaveNoneValue-__delattr__"><strong>__delattr__</strong
></a>(...)</dt><dd><tt>x.<a href="#ValueMustHaveNoneValue-__delattr__">__delattr
__</a>('name') <==> del x.name</tt></dd></dl> | |
| 119 | |
| 120 <dl><dt><a name="ValueMustHaveNoneValue-__getattribute__"><strong>__getattribute
__</strong></a>(...)</dt><dd><tt>x.<a href="#ValueMustHaveNoneValue-__getattribu
te__">__getattribute__</a>('name') <==> x.name</tt></dd></dl> | |
| 121 | |
| 122 <dl><dt><a name="ValueMustHaveNoneValue-__getitem__"><strong>__getitem__</strong
></a>(...)</dt><dd><tt>x.<a href="#ValueMustHaveNoneValue-__getitem__">__getitem
__</a>(y) <==> x[y]</tt></dd></dl> | |
| 123 | |
| 124 <dl><dt><a name="ValueMustHaveNoneValue-__getslice__"><strong>__getslice__</stro
ng></a>(...)</dt><dd><tt>x.<a href="#ValueMustHaveNoneValue-__getslice__">__gets
lice__</a>(i, j) <==> x[i:j]<br> | |
| 125 <br> | |
| 126 Use of negative indices is not supported.</tt></dd
></dl> | |
| 127 | |
| 128 <dl><dt><a name="ValueMustHaveNoneValue-__reduce__"><strong>__reduce__</strong><
/a>(...)</dt></dl> | |
| 129 | |
| 130 <dl><dt><a name="ValueMustHaveNoneValue-__repr__"><strong>__repr__</strong></a>(
...)</dt><dd><tt>x.<a href="#ValueMustHaveNoneValue-__repr__">__repr__</a>()&nbs
p;<==> repr(x)</tt></dd></dl> | |
| 131 | |
| 132 <dl><dt><a name="ValueMustHaveNoneValue-__setattr__"><strong>__setattr__</strong
></a>(...)</dt><dd><tt>x.<a href="#ValueMustHaveNoneValue-__setattr__">__setattr
__</a>('name', value) <==> x.name = value</tt></d
d></dl> | |
| 133 | |
| 134 <dl><dt><a name="ValueMustHaveNoneValue-__setstate__"><strong>__setstate__</stro
ng></a>(...)</dt></dl> | |
| 135 | |
| 136 <dl><dt><a name="ValueMustHaveNoneValue-__str__"><strong>__str__</strong></a>(..
.)</dt><dd><tt>x.<a href="#ValueMustHaveNoneValue-__str__">__str__</a>() &l
t;==> str(x)</tt></dd></dl> | |
| 137 | |
| 138 <dl><dt><a name="ValueMustHaveNoneValue-__unicode__"><strong>__unicode__</strong
></a>(...)</dt></dl> | |
| 139 | |
| 140 <hr> | |
| 141 Data descriptors inherited from <a href="exceptions.html#BaseException">exceptio
ns.BaseException</a>:<br> | |
| 142 <dl><dt><strong>__dict__</strong></dt> | |
| 143 </dl> | |
| 144 <dl><dt><strong>args</strong></dt> | |
| 145 </dl> | |
| 146 <dl><dt><strong>message</strong></dt> | |
| 147 </dl> | |
| 148 </td></tr></table></td></tr></table><p> | |
| 149 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | |
| 150 <tr bgcolor="#eeaa77"> | |
| 151 <td colspan=3 valign=bottom> <br> | |
| 152 <font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></b
ig></font></td></tr> | |
| 153 | |
| 154 <tr><td bgcolor="#eeaa77"><tt> </tt></td><td>
</td> | |
| 155 <td width="100%"><dl><dt><a name="-ValidateNoneValueReason"><strong>ValidateNone
ValueReason</strong></a>(value, none_value_reason)</dt><dd><tt>Ensures that
the none_value_reason is appropriate for the 
;given value.<br> | |
| 156 <br> | |
| 157 There is a logical equality between having a&
nbsp;value of None and having a<br> | |
| 158 reason for being None. That is to say, v
alue is None if and only if<br> | |
| 159 none_value_reason is a string.</tt></dd></dl> | |
| 160 </td></tr></table><p> | |
| 161 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | |
| 162 <tr bgcolor="#55aa55"> | |
| 163 <td colspan=3 valign=bottom> <br> | |
| 164 <font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></
font></td></tr> | |
| 165 | |
| 166 <tr><td bgcolor="#55aa55"><tt> </tt></td><td>
</td> | |
| 167 <td width="100%"><strong>MERGE_FAILURE_REASON</strong> = 'Merging values contain
ing a None value results in a None value.'</td></tr></table> | |
| 168 </body></html> | |
| OLD | NEW |