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

python: fix typo #642

Merged
merged 1 commit into from
Jan 12, 2016
Merged

python: fix typo #642

merged 1 commit into from
Jan 12, 2016

Conversation

chuanconggao
Copy link
Contributor

No description provided.

@waldyrious
Copy link
Member

👍

@felixonmars
Copy link
Collaborator

AFAIK -O does little "optimizations" besides skipping asserts. I don't see it as a really useful use case that belongs here.

@chuanconggao
Copy link
Contributor Author

Skipping asserts is quite important for certain scripts, as that could take significant amount of time.

Also for PyPy, the -O option does have some affect on the performance.

@igorshubovych
Copy link
Collaborator

Contriubuting Guidelines:

2nd. When in doubt, keep new command-line users in mind. Err on the side of clarity rather than terseness.

I think -o is for advanced users.

@igorshubovych
Copy link
Collaborator

@chuanconggao can you please split this PR into 2 parts: fixing typo and -O. The reason I am asking for this: typo can be merged without any discussions.

@chuanconggao chuanconggao changed the title python: add -O example & fix typo python: fix typo Jan 11, 2016
@igorshubovych igorshubovych merged commit 380e082 into tldr-pages:master Jan 12, 2016
@igorshubovych
Copy link
Collaborator

Thank you!

@chuanconggao chuanconggao deleted the python branch January 12, 2016 21:44
@waldyrious waldyrious added the page edit Changes to an existing page(s). label Sep 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
page edit Changes to an existing page(s).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants