python-patterns
python-patterns copied to clipboard
Typo in top comment of patterns/behavioural/catalog.py
In patterns/behavioural/catalog.py , the top multiline comment says:
"A class that uses different static function depending of a parameter.."
Typo details:
- "depending of" -> should be "depending on"
- "static function" -> should be "static functions"
Suggested fix: "A class that uses different static functions depending on a parameter passed in init. Note the use of a single dictionary instead of multiple conditions"