This file is indexed.

/usr/share/doc/pyxplot/html/sect0080.html is in pyxplot-doc 0.8.4-3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta name="generator" content="plasTeX" />
<meta content="text/html; charset=utf-8" http-equiv="content-type" />
<title>PyXPlot Users' Guide: assert</title>

<link href="sect0081.html" title="box" rel="next" />
<link href="sect0079.html" title="arrow" rel="prev" />
<link href="ch-reference.html" title="Command Reference" rel="up" />
<link rel="stylesheet" href="styles/styles.css" />
</head>
<body>

<div class="navigation">
<table cellspacing="2" cellpadding="0" width="100%">
<tr>
<td><a href="sect0079.html" title="arrow"><img alt="Previous: arrow" border="0" src="icons/previous.gif" width="32" height="32" /></a></td>

<td><a href="ch-reference.html" title="Command Reference"><img alt="Up: Command Reference" border="0" src="icons/up.gif" width="32" height="32" /></a></td>

<td><a href="sect0081.html" title="box"><img alt="Next: box" border="0" src="icons/next.gif" width="32" height="32" /></a></td>

<td class="navtitle" align="center">PyXPlot Users' Guide</td>
<td><a href="index.html" title="Table of Contents"><img border="0" alt="" src="icons/contents.gif" width="32" height="32" /></a></td>

<td><a href="sect0255.html" title="Index"><img border="0" alt="" src="icons/index.gif" width="32" height="32" /></a></td>

<td><img border="0" alt="" src="icons/blank.gif" width="32" height="32" /></td>
</tr>
</table>
</div>

<div class="breadcrumbs">
<span>
<span>
<a href="index.html">PyXPlot Users' Guide</a> <b>:</b>
</span>

</span><span>
<span>
<a href="sect0075.html">Reference Manual</a> <b>:</b>
</span>

</span><span>
<span>
<a href="ch-reference.html">Command Reference</a> <b>:</b>
</span>

</span><span>

<span>
<b class="current">assert</b>
</span>
</span>
<hr />
</div>

<div><h1 id="a0000000081">1.5 assert</h1>
<p><a name="a0000000994" id="a0000000994"></a> </p><pre>
assert ( &lt;expression&gt; | version ( &gt;= | &lt; ) &lt;version&gt; )
       [&lt;error message&gt;]
</pre><p>The <tt class="tt">assert</tt> command<a name="a0000000995" id="a0000000995"></a> can be used to assert that a logical expression, such as <tt class="tt">x&gt;0</tt>, is true. An error is reported if the expression is false, and optionally a string can be supplied to provide a more informative error message to the user: </p><pre>
assert x&gt;0
assert y&lt;0 "y must be less than zero."
</pre><p>The <tt class="tt">assert</tt> command<a name="a0000000996" id="a0000000996"></a> can also be used to test the version number of PyXPlot. It is possible to test either that the version is newer than or equal to a specific version, using the <tt class="tt"><img src="images/img-0035.png" alt="$&gt;$" style="vertical-align:0px; 
                                     width:12px; 
                                     height:11px" class="math gen" />=</tt> operator, or that it is older than a specific version, using the <tt class="tt"><img src="images/img-0034.png" alt="$&lt;$" style="vertical-align:0px; 
                                     width:12px; 
                                     height:11px" class="math gen" /></tt> operator, as demonstrated in the following examples: </p><pre>
assert version &gt;= 0.8.2
assert version &lt;  0.8  "This script is designed for PyXPlot 0.7"
</pre></div>





<div class="navigation">
<table cellspacing="2" cellpadding="0" width="100%">
<tr>
<td><a href="sect0079.html" title="arrow"><img alt="Previous: arrow" border="0" src="icons/previous.gif" width="32" height="32" /></a></td>

<td><a href="ch-reference.html" title="Command Reference"><img alt="Up: Command Reference" border="0" src="icons/up.gif" width="32" height="32" /></a></td>

<td><a href="sect0081.html" title="box"><img alt="Next: box" border="0" src="icons/next.gif" width="32" height="32" /></a></td>

<td class="navtitle" align="center">PyXPlot Users' Guide</td>
<td><a href="index.html" title="Table of Contents"><img border="0" alt="" src="icons/contents.gif" width="32" height="32" /></a></td>

<td><a href="sect0255.html" title="Index"><img border="0" alt="" src="icons/index.gif" width="32" height="32" /></a></td>

<td><img border="0" alt="" src="icons/blank.gif" width="32" height="32" /></td>
</tr>
</table>
</div>

<script language="javascript" src="icons/imgadjust.js" type="text/javascript"></script>

</body>
</html>