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

doc: fix sync/async documentation for file I/O #16491

Closed
wants to merge 1 commit into from

Conversation

ihnorton
Copy link
Member

cross-ref #13450

@@ -4057,7 +4057,8 @@ abs2
write(filename::AbstractString, x)

Write the canonical binary representation of a value to the given I/O stream or file.
Returns the number of bytes written into the stream.
Returns the number of bytes written into the stream. *`write(::IOStream, ...)` is a synchronous operation and will block at the process level.*
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These should be line wrapped, and probably migrated inline while you're adjusting them.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, it's a bit weird to say that only the ::IOStream method is blocking, since this also applies to the ::AbstractString one. Why not just say "This is a ...". Same below.

@kshyatt
Copy link
Contributor

kshyatt commented Dec 19, 2017

This would still be nice to have if you want to update the syntax and address comments, @ihnorton. Feel free to reopen w/ changes :)

@kshyatt kshyatt closed this Dec 19, 2017
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.

5 participants