Related 5754a29a97. And follows Ruby standard library style https://github.com/ruby/ruby/commit/3406c5d.
5754a29a97