10000 Copy some README docs into core.py docstrings by logston · Pull Request #65 · prometheus/client_python · GitHub
[go: up one dir, main page]

Skip to content

Copy some README docs into core.py docstrings #65

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 1 commit into from
Oct 26, 2015
Merged

Copy some README docs into core.py docstrings #65

merged 1 commit into from
Oct 26, 2015

Conversation

logston
Copy link
Contributor
@logston logston commented Oct 26, 2015

In an attempt to bolster the docstrings in the core.py file,
some of the README docs were copied into the core.py.

@brian-brazil

@logston logston changed the title Move some README docs into core.py docstrings Copy some README docs into core.py docstrings Oct 26, 2015
Example of using the same Histogram object as a context manager:

with REQUEST_TIME.time():
pass # logic to be timed
Copy link
Contributor

Choose a reason for hiding this comment

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

Logic should start with a capital letter

In an attempt to bolster the docstrings in the core.py file,
some of the README docs were copied into the core.py.
brian-brazil added a commit that referenced this pull request Oct 26, 2015
Copy some README docs into core.py docstrings
@brian-brazil brian-brazil merged commit 24403c6 into prometheus:master Oct 26, 2015
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

Successfully merging this pull request may close these issues.

2 participants
0