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

PR: Add type annotations for rope.contrib.generate.create_generate() #641

Merged
merged 9 commits into from
Jan 5, 2023
5 changes: 3 additions & 2 deletions rope/contrib/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
def create_generate(kind, project, resource, offset, goal_resource=None):
"""A factory for creating `Generate` objects

`kind` can be 'variable', 'function', 'class', 'module' or
'package'.
`kind`: 'variable', 'function', 'class', 'module' or 'package'.
edreamleo marked this conversation as resolved.
Show resolved Hide resolved

Used in https://github.com/python-rope/ropemode but not in Rope itself.

"""
d = {
Expand Down