Skip to content

Commit

Permalink
[SPARK-2627] PEP8: comment spacing
Browse files Browse the repository at this point in the history
PEP 8 is the bee’s knees.
  • Loading branch information
nchammas committed Aug 4, 2014
1 parent 6db9a44 commit bf30942
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/pyspark/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,8 @@ def _hijack_namedtuple():
if hasattr(collections.namedtuple, "__hijack"):
return

global _old_namedtuple # or it will put in closure
global _old_namedtuple # or it will put in closure

def _copy_func(f):
return types.FunctionType(f.func_code, f.func_globals, f.func_name,
f.func_defaults, f.func_closure)
Expand Down

0 comments on commit bf30942

Please sign in to comment.