• Jon Dufresne's avatar
    bpo-30296 Remove unnecessary tuples, lists, sets, and dicts (#1489) · 3972628d
    Jon Dufresne yazdı
    * Replaced list(<generator expression>) with list comprehension
    * Replaced dict(<generator expression>) with dict comprehension
    * Replaced set(<list literal>) with set literal
    * Replaced builtin func(<list comprehension>) with func(<generator
      expression>) when supported (e.g. any(), all(), tuple(), min(), &
      max())
    3972628d
wikipedia.py 1.31 KB