Mercurial > hg
comparison hgeditor @ 49814:1d1b244a91b6
util: fix the signature of observedbufferedinputpipe._fillbuffer()
Flagged by PyCharm, since it didn't match the signature of the method being
overridden. The default value in the superclass is also `_chunksize`, and I
suspect that the amount read from `osread` should be limited to what is passed
in. Only one caller (`bufferedinputpipe.unbufferedread()`) passes this
argument, and it passes the max of `_chunksize` and whatever it was passed.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Fri, 16 Dec 2022 14:24:02 -0500 |
parents | 1aee2ab0f902 |
children |
comparison
equal
deleted
inserted
replaced
49813:54114bba7c7e | 49814:1d1b244a91b6 |
---|