help wantedready-to-implement
描述
Enhancement Suggestion
Reduce code duplication in some function.
Steps which explain the enhancement
Example of function which could use some slimming down
Current and suggested behavior
Currently there are tiny differences which lead to a ton of duplication. A more careful design can reduce code duplication.
Why would the enhancement be useful to most users This enhancement does nothing for the users but a lot for code quality and maintenance