diff options
Diffstat (limited to 'doc/development/tutorials')
-rw-r--r-- | doc/development/tutorials/examples/recipe.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/development/tutorials/examples/recipe.py b/doc/development/tutorials/examples/recipe.py index f917f15c9..8dc53fdd6 100644 --- a/doc/development/tutorials/examples/recipe.py +++ b/doc/development/tutorials/examples/recipe.py @@ -120,8 +120,7 @@ class RecipeDomain(Domain): return '{}.{}'.format('recipe', node.arguments[0]) def get_objects(self): - for obj in self.data['recipes']: - yield obj + yield from self.data['recipes'] def resolve_xref(self, env, fromdocname, builder, typ, target, node, contnode): |