This is a pre-release version (2.5.0.dev0+git20251130.2de293a). Go to latest (2.4.4)
{ } Raw JSON

bundles / numpy 2.5.0.dev0+git20251130.2de293a / numpy / lib / _npyio_impl / _preprocess_comments

function

numpy.lib._npyio_impl:_preprocess_comments

source: build-install/usr/lib/python3.14/site-packages/numpy/lib/_npyio_impl.py :839

Signature

def   _preprocess_comments ( iterable comments encoding )

Summary

Generator that consumes a line iterated iterable and strips out the multiple (or multi-character) comments from lines. This is a pre-processing step to achieve feature parity with loadtxt (we assume that this feature is a nieche feature).

Aliases

  • numpy.lib._npyio_impl._preprocess_comments