Skip to content

Commit

Permalink
fix print docstring (#28609)
Browse files Browse the repository at this point in the history
(cherry picked from commit 2fcad41)
  • Loading branch information
bkamins authored and KristofferC committed Aug 19, 2018
1 parent d7d709c commit a77934b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions base/strings/io.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ of values `xs` if there is one, otherwise call [`show`](@ref).
The representation used by `print` includes minimal formatting and tries to
avoid Julia-specific details.
Printing `nothing` is deprecated and will throw an error in the future.
Printing `nothing` is not allowed and throws an error.
# Examples
```jldoctest
Expand Down Expand Up @@ -132,7 +132,7 @@ string_with_env(env, xs...) = print_to_string(xs...; env=env)
"""
string(xs...)
Create a string from any values using the [`print`](@ref) function.
Create a string from any values, except `nothing`, using the [`print`](@ref) function.
# Examples
```jldoctest
Expand Down

0 comments on commit a77934b

Please sign in to comment.