Terry J. Reedy added the comment:

Both old and new have this sentence:
"Raises :exc:`ValueError` if an invalid resource is specified, if the new soft 
limit exceeds the hard limit, or if a process tries to raise its hard limit 
(unless the process has an effective UID of super-user)."

This strikes me as a bit awkward and ambiguous. As a naive reader that does not 
already know the facts, it is unclear whether the (unless...) applies to the 
overall sentence (Raise...) or just the last clause (if a process...). I would 
try moving the 'unless...' either before the whole sentence or before the 
clause, depending on which is true.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue17409>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to