Fix Python demo and doc. (#4545)

* Remove old doc.
* Fix checking __stdin__.
This commit is contained in:
Jiaming Yuan
2019-06-11 08:58:41 +08:00
committed by GitHub
parent 2f1319f273
commit 4e9965cb9d
2 changed files with 3 additions and 59 deletions

View File

@@ -44,7 +44,7 @@ except ImportError:
# dt
try:
# Workaround for #4473, compatibility with dask
if sys.__stdin__.closed:
if sys.__stdin__ is not None and sys.__stdin__.closed:
sys.__stdin__ = None
import datatable