Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions psutil/_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ def run(self, input_dict, name):
return new_dict

def cache_clear(self, name=None):
"""Clear the internal cache, optionally only for function 'name'."""
"""Clear the internal cache, optionally only for function's 'name'."""
with self.lock:
if name is None:
self.cache.clear()
Expand All @@ -691,7 +691,7 @@ def cache_info(self):


def wrap_numbers(input_dict, name):
"""Given an `input_dict` and a function `name`, adjust the numbers
"""Given an `input_dict` and a function's `name`, adjust the numbers
which "wrap" (restart from zero) across different calls by adding
"old value" to "new value" and return an updated dict.
"""
Expand Down