-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Add examples for searching repositories (#874) #918
Conversation
doc/examples/MainClass.rst
Outdated
... print(repo.html_url) | ||
... | ||
https://github.com/vinta/awesome-python |
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.
To have a consistent format, maybe you can just print(repo)
instead, and let the repr()
do its job?
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.
@sfdye ok. My thinking was that as a user I would want to have the full repo urls.
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.
Got it. As a getting-started guide, we try to make it as generic as possible.
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.
ok
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.
@sfdye Done.
doc/examples/MainClass.rst
Outdated
... print(repo.html_url) | ||
... | ||
'https://github.com/aws-amplify/amplify-js' |
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.
Same here, print(repo)
should be enough
use repr to display objects
No description provided.