1.1 --- a/simplify/fixinstances.py Thu Jul 26 20:26:47 2007 +0200
1.2 +++ b/simplify/fixinstances.py Fri Jul 27 20:54:33 2007 +0200
1.3 @@ -21,9 +21,11 @@
1.4
1.5 --------
1.6
1.7 -To use this module, the easiest approach is to use the fix function:
1.8 +To use this module, the easiest approach is to use the fix and fix_structures
1.9 +functions:
1.10
1.11 -fix(module)
1.12 +fix_structures(module) # to fix the structures
1.13 +fix(module) # to fix references to the structures
1.14
1.15 The more complicated approach involves instantiating a Fixer object:
1.16
1.17 @@ -31,6 +33,7 @@
1.18
1.19 Then, applying the fixer to an existing module:
1.20
1.21 +fixer.process_structures(module)
1.22 fixer.process(module)
1.23 """
1.24
1.25 @@ -45,7 +48,8 @@
1.26 depth-first, and eliminates references to superfluous instances, replacing
1.27 them with those from each class's distinct list, if necessary.
1.28
1.29 - See the simplify.fixnames.Fixer class for a description of the
1.30 + See the simplify.fixnames.Fixer class for a description of the mechanisms
1.31 + used to deal with subprograms.
1.32 """
1.33
1.34 def __init__(self):