mirror of
https://github.com/wassname/catalyst.git
synced 2026-08-10 12:00:15 +08:00
MAINT: Use explicit relative pathing for Python 3 compatibility.
Python 3 requires submodules to have more explicit pathing, so use the dot syntax to declare submodules which are in the same directory as another module.
This commit is contained in:
@@ -23,7 +23,7 @@ from zipline.utils import factory
|
||||
|
||||
from zipline.finance.trading import SimulationParameters
|
||||
|
||||
import answer_key
|
||||
from . import answer_key
|
||||
ANSWER_KEY = answer_key.ANSWER_KEY
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user