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

improved docstring formatting and added safe return in factory method

Open ABHIRANJAN-KUMAR1 opened this issue 2 months ago โ€ข 1 comments

Summary

Fixed minor documentation formatting issues and improved code safety.

Details

  • Cleaned up unnecessary asterisks in builder.py docstrings for better readability.
  • Added default return value in get_localizer (factory.py) to prevent KeyError when unknown language is passed.

Type of Change

  • [x] ๐Ÿž Bug Fix (non-breaking change)
  • [ ] โœจ New Feature
  • [ ] ๐Ÿงน Code Cleanup
  • [ ] ๐Ÿ“š Documentation Update

Result

Improved documentation consistency and safer behavior in factory.py.

ABHIRANJAN-KUMAR1 avatar Nov 03 '25 07:11 ABHIRANJAN-KUMAR1

Please review and merge ๐Ÿ˜Š

ABHIRANJAN-KUMAR1 avatar Nov 07 '25 11:11 ABHIRANJAN-KUMAR1