1
0
Fork 0
forked from github/pelican

Document _update_context(dict) --> list of tuples

Fix #3024
This commit is contained in:
Justin Mayer 2023-08-03 11:34:05 +02:00
commit 5435dd0d81

View file

@ -206,8 +206,9 @@ class Generator:
self.context['static_links'] |= content.get_static_links()
def _update_context(self, items):
"""Update the context with the given items from the current
processor.
"""Update the context with the given items from the current processor.
Note that dictionary arguments will be converted to a list of tuples.
"""
for item in items:
value = getattr(self, item)