Skip to content

Commit 7dbf989

Browse files
committed
-
1 parent 81538bd commit 7dbf989

29 files changed

+55
-1
lines changed

python_toolbox/combi/chain_space.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Copyright 2009-2017 Ram Rachum.
22
# This program is distributed under the MIT license.
33

4+
from __future__ import generator_stop
5+
46
import collections
57

68
from python_toolbox import binary_search

python_toolbox/combi/map_space.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Copyright 2009-2017 Ram Rachum.
22
# This program is distributed under the MIT license.
33

4+
from __future__ import generator_stop
5+
46
import collections
57

68
from python_toolbox import nifty_collections

python_toolbox/context_management/blank_context_manager.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Copyright 2009-2017 Ram Rachum.
22
# This program is distributed under the MIT license.
33

4+
from __future__ import generator_stop
5+
46
from .context_manager import ContextManager
57

68

python_toolbox/context_management/functions.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
See their documentation for more information.
88
'''
99

10+
from __future__ import generator_stop
11+
1012
import sys
1113

1214
from .context_manager_type import ContextManagerType

python_toolbox/cute_iter_tools.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
# todo: make something like `filter` except it returns first found, or raises
66
# exception
77

8+
from __future__ import generator_stop
9+
810
import collections
911
import operator
1012
import itertools

python_toolbox/cute_testing.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44
'''This module defines tools for testing.'''
55

6+
from __future__ import generator_stop
7+
68
import sys
79
import inspect
810
import unittest

python_toolbox/dict_tools.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44
'''Defines several functions that may be useful when working with dicts.'''
55

6+
from __future__ import generator_stop
7+
68
import collections
79

810
from python_toolbox import cute_iter_tools

python_toolbox/file_tools.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Copyright 2009-2017 Ram Rachum.
22
# This program is distributed under the MIT license.
33

4+
from __future__ import generator_stop
5+
46
import pathlib
57

68
import os

python_toolbox/future_tools.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
Defines tools related to the `concurrent.futures` standard library package.
66
'''
77

8+
from __future__ import generator_stop
9+
810
import time
911
import concurrent.futures
1012

python_toolbox/nifty_collections/various_ordered_sets.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Copyright 2009-2017 Ram Rachum.
22
# This program is distributed under the MIT license.
33

4+
from __future__ import generator_stop
5+
46
import collections
57
import operator
68
import itertools

0 commit comments

Comments
 (0)