Skip to content

Commit

Permalink
documentation: fix namespace in documentation examples
Browse files Browse the repository at this point in the history
Signed-off-by: Matteo Cafasso <noxdafox@gmail.com>
  • Loading branch information
noxdafox committed Nov 12, 2017
1 parent 6f058e9 commit d743bb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Example:

.. code:: python
template = env.facts.find_template('some-fact')
template = env.find_template('some-fact')
# remove the Template from the CLIPS Environment
template.undefine() # from here on, the template object is unusable
Expand All @@ -68,7 +68,7 @@ If the previous example is pretty straightforward, there are more subtle scenari

.. code:: python
templates = tuple(env.facts.templates())
templates = tuple(env.templates())
# remove all CLIPS constructs from the environment
env.clear() # from here on, all the previously created objects are unusable
Expand Down

0 comments on commit d743bb8

Please sign in to comment.