-
Notifications
You must be signed in to change notification settings - Fork 179
fix functions with empty cells #91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report
@@ Coverage Diff @@
## master #91 +/- ##
==========================================
+ Coverage 79.88% 80.62% +0.74%
==========================================
Files 2 2
Lines 522 542 +20
Branches 109 111 +2
==========================================
+ Hits 417 437 +20
Misses 75 75
Partials 30 30
Continue to review full report at Codecov.
|
cloudpickle/cloudpickle.py
Outdated
return _empty_cell_value | ||
|
||
|
||
@object.__new__ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could this be less cryptic? :-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have wrapped this in a named function with a docstring.
Idk if this is better.
return _empty_cell_value | ||
|
||
|
||
def instance(cls): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ha :-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this just go back to @object.__new__
? 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, it's ok to me :-)
addresses #73