diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-12-18 15:03:29 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-12-18 15:03:29 (GMT) |
commit | a128b4d651075c9263df3e8959beaac5a403e54d (patch) | |
tree | 5435c4cf425fdf7bc450f81c78be2ee609e05d11 /doc | |
parent | c65c7c0a590554342da91a1e72b1f090f81ba95a (diff) | |
download | tcl-a128b4d651075c9263df3e8959beaac5a403e54d.zip tcl-a128b4d651075c9263df3e8959beaac5a403e54d.tar.gz tcl-a128b4d651075c9263df3e8959beaac5a403e54d.tar.bz2 |
Fix [5507a9c096]: Small error on https://www.tcl.tk/man/tcl/TclCmd/try.html
Diffstat (limited to 'doc')
-rw-r--r-- | doc/try.n | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -87,7 +87,7 @@ Handle different reasons for a file to not be openable for reading: .PP .CS \fBtry\fR { - set f [open /some/file/name w] + set f [open /some/file/name r] } \fBtrap\fR {POSIX EISDIR} {} { puts "failed to open /some/file/name: it's a directory" } \fBtrap\fR {POSIX ENOENT} {} { |