250 <tr> |
250 <tr> |
251 <td><a href="#SimplifyNodeVisitor.__check909">__check909</a></td> |
251 <td><a href="#SimplifyNodeVisitor.__check909">__check909</a></td> |
252 <td>Private method to check for reflexive assignments.</td> |
252 <td>Private method to check for reflexive assignments.</td> |
253 </tr> |
253 </tr> |
254 <tr> |
254 <tr> |
|
255 <td><a href="#SimplifyNodeVisitor.__check910">__check910</a></td> |
|
256 <td>Private method to check for uses of 'dict.get(key, None)'.</td> |
|
257 </tr> |
|
258 <tr> |
255 <td><a href="#SimplifyNodeVisitor.__expressionUsesVariable">__expressionUsesVariable</a></td> |
259 <td><a href="#SimplifyNodeVisitor.__expressionUsesVariable">__expressionUsesVariable</a></td> |
256 <td>Private method to check, if a variable is used by an expression.</td> |
260 <td>Private method to check, if a variable is used by an expression.</td> |
257 </tr> |
261 </tr> |
258 <tr> |
262 <tr> |
259 <td><a href="#SimplifyNodeVisitor.__getDuplicatedIsinstanceCall">__getDuplicatedIsinstanceCall</a></td> |
263 <td><a href="#SimplifyNodeVisitor.__getDuplicatedIsinstanceCall">__getDuplicatedIsinstanceCall</a></td> |
1067 <dt><i>node</i> (ast.Assign)</dt> |
1071 <dt><i>node</i> (ast.Assign)</dt> |
1068 <dd> |
1072 <dd> |
1069 reference to the AST node to be checked |
1073 reference to the AST node to be checked |
1070 </dd> |
1074 </dd> |
1071 </dl> |
1075 </dl> |
|
1076 <a NAME="SimplifyNodeVisitor.__check910" ID="SimplifyNodeVisitor.__check910"></a> |
|
1077 <h4>SimplifyNodeVisitor.__check910</h4> |
|
1078 <b>__check910</b>(<i>node</i>) |
|
1079 |
|
1080 <p> |
|
1081 Private method to check for uses of 'dict.get(key, None)'. |
|
1082 </p> |
|
1083 <dl> |
|
1084 |
|
1085 <dt><i>node</i> (ast.Call)</dt> |
|
1086 <dd> |
|
1087 reference to the AST node to be checked |
|
1088 </dd> |
|
1089 </dl> |
1072 <a NAME="SimplifyNodeVisitor.__expressionUsesVariable" ID="SimplifyNodeVisitor.__expressionUsesVariable"></a> |
1090 <a NAME="SimplifyNodeVisitor.__expressionUsesVariable" ID="SimplifyNodeVisitor.__expressionUsesVariable"></a> |
1073 <h4>SimplifyNodeVisitor.__expressionUsesVariable</h4> |
1091 <h4>SimplifyNodeVisitor.__expressionUsesVariable</h4> |
1074 <b>__expressionUsesVariable</b>(<i>expr, var</i>) |
1092 <b>__expressionUsesVariable</b>(<i>expr, var</i>) |
1075 |
1093 |
1076 <p> |
1094 <p> |