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

Get rid of the redundant zero indexes. #21

Open
seporaitis opened this issue Feb 26, 2016 · 0 comments
Open

Get rid of the redundant zero indexes. #21

seporaitis opened this issue Feb 26, 2016 · 0 comments

Comments

@seporaitis
Copy link
Owner

Like these here:

  statement.alter_specification[1].key_block_size[0]

The key_block_size is always a single value, would be nice to avoid the unnecessary indexing.

If someone knows how to do it in pyparsing - your advice most welcome.

NOTE: this would break the existing API, so when done - minor version should probably be bumped up.

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

No branches or pull requests

1 participant