diff options
author | Ewen Cheslack-Postava <me@ewencp.org> | 2013-10-22 11:26:49 -0700 |
---|---|---|
committer | Ewen Cheslack-Postava <me@ewencp.org> | 2013-10-22 11:26:49 -0700 |
commit | 317a9eb1ceb165a74493c452a6c5fc0f9b5e2760 (patch) | |
tree | dcbd147eb2bfea91de3d12627985aa98ddf8e3af /docs/python-programming-guide.md | |
parent | 56d230e614d7d03a0c53e262071ab388abddd97f (diff) | |
download | spark-317a9eb1ceb165a74493c452a6c5fc0f9b5e2760.tar.gz spark-317a9eb1ceb165a74493c452a6c5fc0f9b5e2760.tar.bz2 spark-317a9eb1ceb165a74493c452a6c5fc0f9b5e2760.zip |
Pass self to SparkContext._ensure_initialized.
The constructor for SparkContext should pass in self so that we track
the current context and produce errors if another one is created. Add
a doctest to make sure creating multiple contexts triggers the
exception.
Diffstat (limited to 'docs/python-programming-guide.md')
0 files changed, 0 insertions, 0 deletions