Skip to content

Commit

Permalink
Remove out-of-date docs on printing nothing (#33216)
Browse files Browse the repository at this point in the history
  • Loading branch information
nickrobinson251 authored and JeffBezanson committed Sep 11, 2019
1 parent 2921ad7 commit 24ddae9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions base/strings/io.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ if `io` is not given) a canonical (un-decorated) text representation.
The representation used by `print` includes minimal formatting and tries to
avoid Julia-specific details.
Printing `nothing` is not allowed and throws an error.
`print` falls back to calling `show`, so most types should just define
`show`. Define `print` if your type has a separate "plain" representation.
For example, `show` displays strings with quotes, and `print` displays strings
Expand Down

0 comments on commit 24ddae9

Please sign in to comment.