mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Revert "Show original string byte sequence to debug"
This reverts commit b42fe5937a
.
This commit is contained in:
parent
ede95f541b
commit
4704bc0976
1 changed files with 0 additions and 2 deletions
|
@ -194,8 +194,6 @@ module IRB
|
|||
":" + s.id2name.encode(Encoding.default_external)
|
||||
rescue EncodingError
|
||||
# ignore
|
||||
rescue Encoding::InvalidByteSequenceError => e
|
||||
raise "Invalid byte sequence #{s.id2name.bytes.inspect} #{e.inspect}"
|
||||
end
|
||||
candidates.grep(/^#{Regexp.quote(sym)}/)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue