From 49aba759744c06fb3a6fa998155428520f161734 Mon Sep 17 00:00:00 2001 From: cui fliter Date: Tue, 9 May 2023 18:03:08 +0800 Subject: fix typos and some other minor bugs (#2253) Signed-off-by: cui fliter --- psutil/_pswindows.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'psutil/_pswindows.py') diff --git a/psutil/_pswindows.py b/psutil/_pswindows.py index 4081aa17..38e26ebc 100644 --- a/psutil/_pswindows.py +++ b/psutil/_pswindows.py @@ -247,7 +247,7 @@ def swap_memory(): total_system = mem[2] # system memory (commit total/limit) is the sum of physical and swap - # thus physical memory values need to be substracted to get swap values + # thus physical memory values need to be subtracted to get swap values total = total_system - total_phys # commit total is incremented immediately (decrementing free_system) # while the corresponding free physical value is not decremented until -- cgit v1.2.1