File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -78,12 +78,12 @@ this module for those platforms.
7878
7979 Sets new limits of consumption of *resource *. The *limits * argument must be a
8080 tuple ``(soft, hard) `` of two integers describing the new limits. A value of
81- :data : `~resource.RLIM_INFINITY ` can be used to request a limit that is
81+ :const : `~resource.RLIM_INFINITY ` can be used to request a limit that is
8282 unlimited.
8383
8484 Raises :exc: `ValueError ` if an invalid resource is specified, if the new soft
8585 limit exceeds the hard limit, or if a process tries to raise its hard limit.
86- Specifying a limit of :data : `~resource.RLIM_INFINITY ` when the hard or
86+ Specifying a limit of :const : `~resource.RLIM_INFINITY ` when the hard or
8787 system limit for that resource is not unlimited will result in a
8888 :exc: `ValueError `. A process with the effective UID of super-user can
8989 request any valid limit value, including unlimited, but :exc: `ValueError `
@@ -93,7 +93,7 @@ this module for those platforms.
9393 ``setrlimit `` may also raise :exc: `error ` if the underlying system call
9494 fails.
9595
96- VxWorks only supports setting :data : `RLIMIT_NOFILE `.
96+ VxWorks only supports setting :const : `RLIMIT_NOFILE `.
9797
9898 .. audit-event :: resource.setrlimit resource,limits resource.setrlimit
9999
You can’t perform that action at this time.
0 commit comments