python-patterns icon indicating copy to clipboard operation
python-patterns copied to clipboard

Typo in top comment of patterns/behavioural/catalog.py

Open partth-code opened this issue 4 months ago • 0 comments

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"

partth-code avatar Aug 27 '25 19:08 partth-code