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

remove references to TCPSocket in Base docstrings #26298

Merged
merged 1 commit into from
Mar 2, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions base/stream.jl
Original file line number Diff line number Diff line change
Expand Up @@ -951,7 +951,7 @@ the pipe. The `wr` end is given for convenience in case the old
elsewhere.

!!! note
`stream` must be a `TTY`, a `Pipe`, or a [`TCPSocket`](@ref).
`stream` must be a `TTY`, a `Pipe`, or a socket.
"""
redirect_stdout

Expand All @@ -961,7 +961,7 @@ redirect_stdout
Like [`redirect_stdout`](@ref), but for [`stderr`](@ref).

!!! note
`stream` must be a `TTY`, a `Pipe`, or a [`TCPSocket`](@ref).
`stream` must be a `TTY`, a `Pipe`, or a socket.
"""
redirect_stderr

Expand All @@ -973,7 +973,7 @@ Note that the order of the return tuple is still `(rd, wr)`,
i.e. data to be read from [`stdin`](@ref) may be written to `wr`.

!!! note
`stream` must be a `TTY`, a `Pipe`, or a [`TCPSocket`](@ref).
`stream` must be a `TTY`, a `Pipe`, or a socket.
"""
redirect_stdin

Expand All @@ -998,7 +998,7 @@ Run the function `f` while redirecting [`stdout`](@ref) to `stream`.
Upon completion, [`stdout`](@ref) is restored to its prior setting.

!!! note
`stream` must be a `TTY`, a `Pipe`, or a [`TCPSocket`](@ref).
`stream` must be a `TTY`, a `Pipe`, or a socket.
"""
redirect_stdout(f::Function, stream)

Expand All @@ -1009,7 +1009,7 @@ Run the function `f` while redirecting [`stderr`](@ref) to `stream`.
Upon completion, [`stderr`](@ref) is restored to its prior setting.

!!! note
`stream` must be a `TTY`, a `Pipe`, or a [`TCPSocket`](@ref).
`stream` must be a `TTY`, a `Pipe`, or a socket.
"""
redirect_stderr(f::Function, stream)

Expand All @@ -1020,7 +1020,7 @@ Run the function `f` while redirecting [`stdin`](@ref) to `stream`.
Upon completion, [`stdin`](@ref) is restored to its prior setting.

!!! note
`stream` must be a `TTY`, a `Pipe`, or a [`TCPSocket`](@ref).
`stream` must be a `TTY`, a `Pipe`, or a socket.
"""
redirect_stdin(f::Function, stream)

Expand Down