Skip to content

Commit 0e30f47

Browse files
authored
MAINT: bimatrix_generators: Define __all__ (#525)
1 parent be16ea5 commit 0e30f47

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

quantecon/game_theory/game_generators/__init__.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,4 @@
33
game_theory.game_generators
44
55
"""
6-
from .bimatrix_generators import (
7-
blotto_game, ranking_game, sgc_game, tournament_game, unit_vector_game
8-
)
6+
from .bimatrix_generators import *

quantecon/game_theory/game_generators/bimatrix_generators.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,11 @@
9999
from ...graph_tools import random_tournament_graph
100100
from ...util.combinatorics import next_k_array, k_array_rank_jit
101101

102+
__all__ = [
103+
'blotto_game', 'ranking_game', 'sgc_game', 'tournament_game',
104+
'unit_vector_game'
105+
]
106+
102107

103108
def blotto_game(h, t, rho, mu=0, random_state=None):
104109
"""

0 commit comments

Comments
 (0)