diff --git a/prometheus_client/exposition.py b/prometheus_client/exposition.py index cbdbb379..9b485f9e 100644 --- a/prometheus_client/exposition.py +++ b/prometheus_client/exposition.py @@ -667,7 +667,7 @@ def push_to_gateway( url, method, timeout, headers, and content May be used to implement additional functionality not supported by the built-in default handler (such as SSL - client certicates, and HTTP authentication mechanisms). + client certificates, and HTTP authentication mechanisms). 'url' is the URL for the request, the 'gateway' argument described earlier will form the basis of this URL. 'method' is the HTTP method which should be used when diff --git a/prometheus_client/values.py b/prometheus_client/values.py index 16c745ed..dc8d568c 100644 --- a/prometheus_client/values.py +++ b/prometheus_client/values.py @@ -69,7 +69,7 @@ def cleanup(): _multi_process_cleanups.append(cleanup) class MmapedValue: - """A float protected by a mutex backed by a per-process mmaped file.""" + """A float protected by a mutex backed by a per-process mapped file.""" _multiprocess = True