Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

Annotation-based field renaming #17

Open
abhinav opened this issue Sep 2, 2015 · 0 comments
Open

Annotation-based field renaming #17

abhinav opened this issue Sep 2, 2015 · 0 comments

Comments

@abhinav
Copy link
Contributor

abhinav commented Sep 2, 2015

Something like

struct Foo {
    1: i32 foo (py.name = "bar")
}

The intention here being that if the name of an attribute conflicts with a reserved keyword in Python, users can provide an alternative name for it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant