]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-137044: To weaken the statement regarding the RLIM_INFINITY value (GH-137954)
authorSerhiy Storchaka <storchaka@gmail.com>
Wed, 20 Aug 2025 12:05:38 +0000 (15:05 +0300)
committerGitHub <noreply@github.com>
Wed, 20 Aug 2025 12:05:38 +0000 (15:05 +0300)
Doc/library/resource.rst
Misc/NEWS.d/next/Library/2025-08-07-12-32-23.gh-issue-137044.abNoIy.rst

index 230f11474f767dbc03eb3d03ba3b15d6dacff542..5bc68fdeff4dd281ecca14749e5493c85944ea02 100644 (file)
@@ -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.
index 4bbf3075dfcafeec9c6c8fbbbc3d4376d0262707..5a87d3c7dd04ec658e2763525b84756183afe00b 100644 (file)
@@ -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.