From caad1431caba8eb9697757d543f5733dfc22f167 Mon Sep 17 00:00:00 2001 From: Angelos Chalaris Date: Sun, 5 Jan 2020 14:25:58 +0200 Subject: [PATCH] Update zip.md --- snippets/zip.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/zip.md b/snippets/zip.md index b16696763..88d02c385 100644 --- a/snippets/zip.md +++ b/snippets/zip.md @@ -9,7 +9,7 @@ Use `max` combined with `list comprehension` to get the length of the longest li Loop for `max_length` times grouping elements. If lengths of `lists` vary, use `fill_value` (defaults to `None`). -[`zip`](https://docs.python.org/3/library/functions.html#zip) and [`itertools.zip_longest`](https://docs.python.org/3/library/itertools.html#itertools.zip_longest) provide similar functionality to this snippet. +[`zip()`](https://docs.python.org/3/library/functions.html#zip) and [`itertools.zip_longest()`](https://docs.python.org/3/library/itertools.html#itertools.zip_longest) provide similar functionality to this snippet. ```py def zip(*args, fill_value=None):