-
-
Notifications
You must be signed in to change notification settings - Fork 399
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trac #21010: py3 imports in calculus, game_theory, stats, sandpiles f…
…olders (futurize) another step to py3 done using {{{ futurize -w -f absolute_import src/sage/stats/ futurize -w -f absolute_import src/sage/sandpiles/ futurize -w -f absolute_import src/sage/game_theory/ futurize -w -f absolute_import src/sage/calculus/ }}} URL: https://trac.sagemath.org/21010 Reported by: chapoton Ticket author(s): Frédéric Chapoton Reviewer(s): Jori Mäntysalo
- Loading branch information
Showing
12 changed files
with
30 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
r""" | ||
Catalog Of Games | ||
""" | ||
from __future__ import absolute_import | ||
|
||
import catalog_normal_form_games as normal_form_games | ||
from . import catalog_normal_form_games as normal_form_games |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
import all | ||
from __future__ import absolute_import | ||
from . import all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
import all | ||
from __future__ import absolute_import | ||
from . import all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
from r import (ttest) | ||
from basic_stats import (mean, mode, std, variance, median, moving_average) | ||
from __future__ import absolute_import | ||
|
||
import hmm.all as hmm | ||
from .r import ttest | ||
from .basic_stats import (mean, mode, std, variance, median, moving_average) | ||
from .hmm import all as hmm | ||
|
||
# We lazy_import the following modules since they import numpy which slows down sage startup | ||
# We lazy_import the following modules since they import numpy which | ||
# slows down sage startup | ||
from sage.misc.lazy_import import lazy_import | ||
lazy_import("sage.finance.time_series", ["TimeSeries"]) | ||
lazy_import("sage.stats.intlist",["IntList"]) | ||
lazy_import("sage.stats.intlist", ["IntList"]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
import discrete_gaussian_integer | ||
import discrete_gaussian_polynomial | ||
from __future__ import absolute_import | ||
from . import discrete_gaussian_integer | ||
from . import discrete_gaussian_polynomial |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
import all | ||
from __future__ import absolute_import | ||
from . import all |