Skip to content

DOC: Cleaned doctrings #30165

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

Merged
merged 3 commits into from
Dec 11, 2019
Merged

Conversation

ShaharNaveh
Copy link
Member

  • closes #xxxx
  • tests added / passed
  • passes black pandas
  • passes git diff upstream/master -u -- "*.py" | flake8 --diff
  • whatsnew entry

@@ -219,8 +219,9 @@ def load_newobj_ex(self):
pass


def load(fh, encoding=None, is_verbose=False):
"""load a pickle, with a provided encoding
def load(fh, encoding=None, is_verbose: bool = False):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
def load(fh, encoding=None, is_verbose: bool = False):
def load(fh, encoding: Optional[str] = None, is_verbose: bool = False):

@WillAyd WillAyd added Code Style Code style, linting, code_checks Typing type annotations, mypy/pyright type checking labels Dec 9, 2019
@ShaharNaveh ShaharNaveh requested a review from WillAyd December 10, 2019 12:00
@simonjayhawkins simonjayhawkins added this to the 1.0 milestone Dec 11, 2019
@simonjayhawkins simonjayhawkins merged commit 920da19 into pandas-dev:master Dec 11, 2019
@simonjayhawkins
Copy link
Member

Thanks @MomIsBestFriend

proost pushed a commit to proost/pandas that referenced this pull request Dec 19, 2019
proost pushed a commit to proost/pandas that referenced this pull request Dec 19, 2019
@ShaharNaveh ShaharNaveh deleted the DOC-clean branch December 20, 2019 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Style Code style, linting, code_checks Typing type annotations, mypy/pyright type checking
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants