Skip to content

Commit 245cb86

Browse files
hoodmanevstinner
andauthored
Apply suggestions from code review
Co-authored-by: Victor Stinner <vstinner@python.org>
1 parent 1a81834 commit 245cb86

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Platforms/emscripten/streams.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
* https://github.com/emscripten-core/emscripten/blob/1aa7fb531f11e11e7ae49b75a24e1a8fe6fa4a7d/src/lib/libtty.js?plain=1#L104-L114
2121
*
2222
* Ideally some version of this should go upstream to Emscripten since it is not
23-
* in any way specific to Python. But I haven't gotten around to it yet.
23+
* in any way specific to Python. But I (Hood) haven't gotten around to it yet.
2424
*/
2525

2626
import * as tty from "node:tty";
@@ -86,7 +86,7 @@ function readWriteHelper(stream, cb, method) {
8686
}
8787
if (nbytes === undefined) {
8888
// Prevent an infinite loop caused by incorrect code that doesn't return a
89-
// value
89+
// value.
9090
// Maybe we should set nbytes = buffer.length here instead?
9191
console.warn(
9292
`${method} returned undefined; a correct implementation must return a number`,

0 commit comments

Comments
 (0)