Skip to content

Re-arranging order of display is possible using % operator #58

@jforberg

Description

@jforberg

...This allows for re-arranging the order of display without changing the arguments.
This operation is not available with old-style formatting.

This is false. Consider:
'%(b)s %(a)s' % { 'a': 'one', 'b': 'two' }

This functionality has been in Python since "forever" (20+ years), as far as I can tell.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions