Modifies the stacklevel used when raising a TruncationWarning so that
the code calling the read/write is indicated rather than the location
where the warning is raised. A stacklevel of 3 is used as the read/write
methods are called from within closures.
Modifies the stacklevel used when raising a TruncationWarning so that the code calling the read/write is indicated rather than the location where the warning is raised. A stacklevel of 3 is used as the read/write methods are called from within closures.