Skip to content

[API] Rename py::kwonly to py::kw_only #2410

Closed
@henryiii

Description

@henryiii

The py::kwonly() feature is great, but the naming is not very consistent, I believe. It has not been in a released version of pybind11 yet, so I think we can safely change it to py::kw_only()? Would that be a good idea? (see, for example, py::is_final(), which was also recently added, or py::module_local(), py::buffer_protocol(), etc.).

Metadata

Metadata

Assignees

Labels

policySuggestions for changes in policy

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions