Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
corona10 committed Oct 1, 2023
1 parent 1217ab5 commit 64da2f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/os.py
Original file line number Diff line number Diff line change
Expand Up @@ -1138,7 +1138,7 @@ def add_dll_directory(path):
)


if _exists('sched_getaffinity') and _get_cpu_count_config() < 0:
if _exists('sched_getaffinity') and posix._get_cpu_count_config() < 0:
def process_cpu_count():
"""
Get the number of CPUs of the current process.
Expand Down

0 comments on commit 64da2f9

Please sign in to comment.