Skip to content

Conversation

SamuelMarks
Copy link
Contributor

@SamuelMarks SamuelMarks commented Dec 22, 2020

Partially addresses #3003

I've written custom parsers and emitters for everything from docstrings to classes and functions. However, I recently came across an issue when I was parsing/generating from the TensorFlow—and now PyTorch—codebases: inconsistent use of Args: and Arguments: in its docstrings. It is easy enough to extend my parsers to support both variants, however it looks like Arguments: is wrong anyway, as per:

Therefore, only Args: is valid. This PR replaces them throughout the codebase.

PS: For related PRs, see pytorch/pytorch/pull/49736

Copy link
Contributor

@datumbox datumbox left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@datumbox datumbox merged commit 3d60f49 into pytorch:master Dec 22, 2020
facebook-github-bot pushed a commit that referenced this pull request Dec 23, 2020
Summary: Co-authored-by: Vasilis Vryniotis <datumbox@users.noreply.github.com>

Reviewed By: mthrok

Differential Revision: D25680403

fbshipit-source-id: 0a9e91c7f9af034b581487dbef352b20ac4f3936
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants