Github user HyukjinKwon commented on a diff in the pull request:

    https://github.com/apache/spark/pull/20682#discussion_r171738290
  
    --- Diff: python/pyspark/heapq3.py ---
    @@ -883,7 +883,7 @@ def nlargest(n, iterable, key=None):
     
     
     if __name__ == "__main__":
    -    import doctest
    +    import doctest, sys
    --- End diff --
    
    Shell we import this separately? - 
https://www.python.org/dev/peps/pep-0008/#imports


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to