Skip to content

Add a timestamp_hook argument #45

@jwodder

Description

@jwodder

Give load() and loads() a timestamp_hook argument for specifying a callable to pass the file's timestamp (if any) to

  • The timestamp is passed as an unparsed string with leading # and trailing newline (and other whitespace?) removed

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions