diff --git a/Doc/library/resource.rst b/Doc/library/resource.rst index ea75c8b2b98924..1fba98ff13191b 100644 --- a/Doc/library/resource.rst +++ b/Doc/library/resource.rst @@ -50,7 +50,6 @@ this module for those platforms. .. data:: RLIM_INFINITY Constant used to represent the limit for an unlimited resource. - Its value is larger than any limited resource value. .. versionchanged:: next It is now always positive. diff --git a/Misc/NEWS.d/next/Library/2025-08-07-12-32-23.gh-issue-137044.abNoIy.rst b/Misc/NEWS.d/next/Library/2025-08-07-12-32-23.gh-issue-137044.abNoIy.rst index 4bbf3075dfcafe..5a87d3c7dd04ec 100644 --- a/Misc/NEWS.d/next/Library/2025-08-07-12-32-23.gh-issue-137044.abNoIy.rst +++ b/Misc/NEWS.d/next/Library/2025-08-07-12-32-23.gh-issue-137044.abNoIy.rst @@ -1,4 +1,4 @@ -:data:`resource.RLIM_INFINITY` is now always a positive integer larger than -any limited resource value. This simplifies comparison of the resource -values. Previously, it could be negative, such as -1 or -3, depending on -platform. +:data:`resource.RLIM_INFINITY` is now always a positive integer. +On all supported platforms, it is larger than any limited resource value, +which simplifies comparison of the resource values. +Previously, it could be negative, such as -1 or -3, depending on platform.