Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Python Syntax for Templated Methods #70

@kwabenantim

Description

@kwabenantim

Summary

Following the nicer Python syntax for templated classes added in #13, it would be good to have nicer Python syntax for templated methods as well.

For example in C++ we have

population.AddCellWriter<CellVolumesWriter>();

In Python this is currently

population.AddCellWriterCellVolumesWriter()

A nicer Python version could be

population.AddCellWriter[CellVolumesWriter]()

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions