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

document @printf,@sprintf, fixes #1170 #2532

Merged
merged 1 commit into from
Mar 12, 2013
Merged

document @printf,@sprintf, fixes #1170 #2532

merged 1 commit into from
Mar 12, 2013

Conversation

ihnorton
Copy link
Member

No description provided.

@JeffBezanson
Copy link
Sponsor Member

There should also be changes in base.rst.

@diegozea
Copy link
Contributor

Is @printf a wrapper for C's printf ? Is faster than using write ? If answers are yes, maybe can be added to the description.

@JeffBezanson
Copy link
Sponsor Member

No, we have our own implementation of printf (see base/printf.jl). It could eventually be faster than C's since we compile the format string.

@diegozea
Copy link
Contributor

Thanks!! I need to check out more about file IO.

@pao
Copy link
Member

pao commented Mar 11, 2013

@ihnorton More explanation of what Jeff said--helpdb.jl is a generated file (make -C doc helpdb.jl if you have Sphinx installed) based on the ReStructuredText files. #2501 should make this less confusing for documentation contributors since the file would no longer be in the tree. At any rate, any changes you make directly to helpdb.jl will be lost next time someone regenerates it and checks it in.

@ihnorton
Copy link
Member Author

@pao thanks for the explanation, should have realized that. I installed Sphinx and updated both this time.

@pao
Copy link
Member

pao commented Mar 12, 2013

Great, thanks!

@pao
Copy link
Member

pao commented Mar 12, 2013

Might be nice to mention why you would use @printf/@sprintf instead of their functional equivalents.

pao added a commit that referenced this pull request Mar 12, 2013
@pao pao merged commit dc99cfc into JuliaLang:master Mar 12, 2013
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 this pull request may close these issues.

None yet

4 participants