Skip to content

Commit

Permalink
- Fix two typos
Browse files Browse the repository at this point in the history
  • Loading branch information
sidnei committed Oct 7, 2008
1 parent be661ad commit b11ecfe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/RestrictedPython/notes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ hopefully make this a little easier. :)

* It uses compiler.parse to parse the source

* it uses MutatingWalker.walk to mutaate the tree using the
* it uses MutatingWalker.walk to mutate the tree using the
RestrictedCompileMode's 'rm' attr, which is a
RestrictionMutator.

Expand All @@ -64,7 +64,7 @@ hopefully make this a little easier. :)
nodes. These visit methods may mutate nodes or return new
nodes that replace the originally visited nodes. There is a
default visitor that visits a node's children and replaces the
children who's visitors returned new nodes.
children whose visitors returned new nodes.

The walk function just calls the visitor for the root node of
the given tree. Note _get_tree ignores the walk return value,
Expand Down

0 comments on commit b11ecfe

Please sign in to comment.