From 3bef8fb9816c4123befbf4fd241a8d77b4171213 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Sun, 5 Jul 2020 00:20:25 +0200 Subject: [PATCH] Fixed links to comprehensions --- README.md | 2 +- index.html | 2 +- pdf/index_for_pdf.html | 6 +++--- pdf/index_for_pdf_print.html | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 110447b..5149dbc 100644 --- a/README.md +++ b/README.md @@ -1147,7 +1147,7 @@ class Counter: #### Python has many different iterator objects: * **Iterators returned by the [iter()](#iterator) function, such as list\_iterator and set\_iterator.** * **Objects returned by the [itertools](#itertools) module, such as count, repeat and cycle.** -* **Generators returned by the [generator functions](#generator) and [generator expressions](#comprehension).** +* **Generators returned by the [generator functions](#generator) and [generator expressions](#comprehensions).** * **File objects returned by the [open()](#open) function, etc.** ### Callable diff --git a/index.html b/index.html index a96bc18..1134663 100644 --- a/index.html +++ b/index.html @@ -1105,7 +1105,7 @@ Z = dataclasses.make_dataclass('Z', [

Python has many different iterator objects:

Callable

  • All functions and classes have a call() method, hence are callable.
  • diff --git a/pdf/index_for_pdf.html b/pdf/index_for_pdf.html index b9cc8f8..9a6acc8 100644 --- a/pdf/index_for_pdf.html +++ b/pdf/index_for_pdf.html @@ -28,7 +28,7 @@ combinatorics, 8
    command line arguments, 22
    comparable, 16
    -comprehension, 11
    +comprehensions, 11
    context manager, 17
    copy function, 15
    coroutine, 33
    @@ -56,7 +56,7 @@ functools module, 11, 12, 13, 16
    futures, 30

    G

    -

    generators, 4, 11
    +

    generators, 4, 11
    global keyword, 12

    H

    hashable, 16
    @@ -75,7 +75,7 @@

    json module, 25, 46

    L

    lambda, 11
    -list comprehension, 11
    +list comprehension, 11
    lists, 1-2, 11
    locks, 29
    logging, 35

    diff --git a/pdf/index_for_pdf_print.html b/pdf/index_for_pdf_print.html index 6bfb507..c7a9749 100644 --- a/pdf/index_for_pdf_print.html +++ b/pdf/index_for_pdf_print.html @@ -28,7 +28,7 @@ combinatorics, 8
    command line arguments, 22
    comparable, 16
    -comprehension, 11
    +comprehensions, 11
    context manager, 17
    copy function, 15
    coroutine, 33