Clean up Python 2 compatibility code. (#5161)

This commit is contained in:
Jiaming Yuan
2019-12-27 18:34:53 +08:00
committed by GitHub
parent 61286c6e8f
commit 6848d0426f
9 changed files with 16 additions and 57 deletions

View File

@@ -4,8 +4,6 @@
Contributors: https://github.com/dmlc/xgboost/blob/master/CONTRIBUTORS.md
"""
from __future__ import absolute_import
import os
from .core import DMatrix, Booster