Skip to content
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

Pytocs should parse docstrings looking for type annotations #34

Open
uxmal opened this issue Nov 27, 2018 · 0 comments
Open

Pytocs should parse docstrings looking for type annotations #34

uxmal opened this issue Nov 27, 2018 · 0 comments

Comments

@uxmal
Copy link
Owner

uxmal commented Nov 27, 2018

Many Python projects use comments in doc strings as type annotations, e.g.

"""
:param str sender
:param str recipient
:param int copies
:rtype int
"""
def send_copies_to(sender, recipient, copies():
# more code here

which would translate to:

public static int send_copies_to(string senders, send recipient, int copies) {
// More code here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant