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:
Eddie Hebert
2014-01-05 08:12:00 -05:00
parent b4959e46cf
commit e458e8c3c5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -26,7 +26,7 @@ from zipline.finance import trading
import pandas as pd
import risk
from . import risk
from . risk import (
alpha,
check_entry,