Unwrap Iterable Construction
Documentation Index
Fetch the complete documentation index at: https://docs.sourcery.ai/llms.txt
Use this file to discover all available pages before exploring further.
Sourcery refactoring id: unwrap-iterable-construction
Section titled “Sourcery refactoring id: unwrap-iterable-construction”Description
Section titled “Description”Unwrap an iterable constructor into a literal iterable.
Before
Section titled “Before”tuple([user_config, *package_config, local_config])(user_config, *package_config, local_config)Explanation
Section titled “Explanation”Creating the intermediate constant is unnecessary and needlessly verbose.