FIX EXAMPLE:
No longer working with current code base
since the TokenStream.next() method was removed.
diff --git a/docs/cache_extension.py b/docs/cache_extension.py
index 8fdefb5..ccdefa2 100644
--- a/docs/cache_extension.py
+++ b/docs/cache_extension.py
@@ -20,7 +20,7 @@
# we only listen to ``'cache'`` so this will be a name token with
# `cache` as value. We get the line number so that we can give
# that line number to the nodes we create by hand.
- lineno = parser.stream.next().lineno
+ lineno = next(parser.stream).lineno
# now we parse a single expression that is used as cache key.
args = [parser.parse_expression()]