Changeset 4479


Ignore:
Timestamp:
07/27/11 10:41:51 (3 years ago)
Author:
tekl
Message:

Correct docs to reflect new proper import statements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • coopr.pyomo/trunk/coopr/pyomo/check/doc/checker.tex

    r4478 r4479  
    138138# Checker for coopr.pyomo imports 
    139139 
    140 import coopr.pyomo.check 
     140from coopr.pyomo.check.checker import IterativeTreeChecker 
    141141import ast 
    142142 
    143 class Imports(coopr.pyomo.check.checker.IterativeTreeChecker): 
     143class Imports(IterativeTreeChecker): 
    144144\end{verbatim} 
    145145 
     
    196196 
    197197\begin{verbatim} 
    198 import coopr.pyomo.check 
    199 class PrintParens(coopr.pyomo.check.ImmediateDataChecker): 
     198from coopr.pyomo.check.checker import ImmediateDataChecker 
     199class PrintParens(ImmediateDataChecker): 
    200200    def check(self, runner, script, info): 
    201201        lines = info.split("\n") 
     
    214214 
    215215\begin{verbatim} 
    216 import coopr.pyomo.check 
     216from coopr.pyomo.check.checker import ImmediateDataChecker 
    217217import re 
    218218 
    219 class PrintParens(coopr.pyomo.check.ImmediateDataChecker): 
     219class PrintParens(ImmediateDataChecker): 
    220220    def check(self, runner, script, info): 
    221221        lines = info.split("\n") 
Note: See TracChangeset for help on using the changeset viewer.