Skip to content

[WIP] Add stringformat #83

Open
Open
@alanjds

Description

@alanjds

google#185 opened on Jan 21, 2017 by @S-YOU

  • Still finding way to monkey patch properly.
  • Temporarily put the file in pypy, please do not merge.
% make run
import stringformat
print ['{a:5} {} {:d} {:<10}'.format("abcd", 1234, "a", a=42)]
['   42 abcd 1234 a         ']

Metadata

Metadata

Assignees

No one assigned

    Labels

    imported PRPull Request imported from google/grumpy

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions