Skip to content

Generate __str__ and __repr__ #185

@timosachsenberg

Description

@timosachsenberg

Just annotate a certain C++ in the pxd function to use as "wrap-as-str" and implement 10 lines of code generation.

Using << operator might be hard since they might be defined outside the class somewhere.

OpenMS/OpenMS#7265

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions