Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alias CfgNode as CN #36

Open
Rizhiy opened this issue Feb 12, 2020 · 0 comments · May be fixed by #40
Open

Alias CfgNode as CN #36

Rizhiy opened this issue Feb 12, 2020 · 0 comments · May be fixed by #40

Comments

@Rizhiy
Copy link
Contributor

Rizhiy commented Feb 12, 2020

In the example CfgNode is imported as CN.
In my code, I also do the same, since it saves a bit of space.

Unfortunately, my IDE (PyCharm) is not able to automatically recognise this alias and I have to manually import CfgNode every time, which becomes tedious after a while if you use it a lot.

I suggest adding CN as a proper alias, so that IDE can detect it.

Name clash

So far I haven't seen any major variables in other packages named CN, the only conflict is https://pypi.org/project/cn/#description, but it appears to be empty and dead.

@Rizhiy Rizhiy linked a pull request Mar 5, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant