From 6e7b9ce043d4a247109d4b23be1fe7911dea2c32 Mon Sep 17 00:00:00 2001 From: kovan Date: Tue, 3 Feb 2026 23:24:36 +0100 Subject: [PATCH] gh-136879: Make os.spawn* arg signatures consistent with os.exec* Update os.spawnl, spawnle, spawnlp, and spawnlpe function signatures to show arg0, arg1, ... explicitly, matching the os.execl family of functions for consistency. Co-Authored-By: Claude Opus 4.5 --- Doc/library/os.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Doc/library/os.rst b/Doc/library/os.rst index dad54c0e82bbc2..862cf024914acf 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -5254,10 +5254,10 @@ written in Python, such as a mail server's external command delivery program. .. versionadded:: 3.7 -.. function:: spawnl(mode, path, ...) - spawnle(mode, path, ..., env) - spawnlp(mode, file, ...) - spawnlpe(mode, file, ..., env) +.. function:: spawnl(mode, path, arg0, arg1, ...) + spawnle(mode, path, arg0, arg1, ..., env) + spawnlp(mode, file, arg0, arg1, ...) + spawnlpe(mode, file, arg0, arg1, ..., env) spawnv(mode, path, args) spawnve(mode, path, args, env) spawnvp(mode, file, args)