pyvider 2025-03-20
Modernized type hints in `string_manipulation.py`, enhanced the `format` function with...
9 files · 49+ · 570-

String Format Function Placeholder Validation

1 file changed
  • validation.md Changes to validation.md
  • Added regex-based placeholder detection (re.findall(r'\{(\d+)\}', template)) to the format function instantiate errata
    1 file
    • validation.md
  • Added auto-extension of values list with empty strings when template references higher placeholder indices than available values instantiate internal
    1 file
    • validation.md
  • Logs warning when placeholder count exceeds provided values decouple internal
    1 file
    • validation.md

Modern Type Hints in String Manipulation

1 file changed
  • string_manipulation.py Changes to string_manipulation.py
  • Changed List[Any] to list[Any] in _ensure_list return type annotation specify behavioral
    1 file
    • string_manipulation.py
  • Removed unused List import from typing specify internal
    1 file
    • string_manipulation.py
  • Updated docstring references from “List representation” to “list representation” specify errata
    1 file
    • string_manipulation.py

Call Function Handler

2 files changed
  • call_function.py Simplified `call_function.py` handler (171 lines of changes, mostly deletions)
  • potential-examples.pseudocode.py Removed `docs/reference/potential-examples.pseudocode.py` (59 lines)
  • Simplified call_function.py handler (171 lines of changes, mostly deletions) decouple internal
    1 file
    • call_function.py
  • Removed docs/reference/potential-examples.pseudocode.py (59 lines) specify internal
    1 file
    • potential-examples.pseudocode.py