Fullchee Zhangfullchee.hashnode.dev·Jul 21, 2023Python Splatting *("-s", "1")Why do something like this? subprocess.check_call( ( "git", *("-c", "protocol.version=2") *("--depth", "1"), ) ) Because the black formatter will format it like this which is less readable subprocess.check_call( (...41 readsPythonAdd a thoughtful commentNo comments yetBe the first to start the conversation.