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 / _iotools / LineSplitter / autostrip

function

numpy.lib._iotools:LineSplitter.autostrip

source: build-install/usr/lib/python3.14/site-packages/numpy/lib/_iotools.py :149

Signature

def   autostrip ( self method )

Summary

Wrapper to strip each member of the output of method.

Parameters

method : function

Function that takes a single argument and returns a sequence of strings.

Returns

wrapped : function

The result of wrapping method. wrapped takes a single input argument and returns a list of strings that are stripped of white-space.

Aliases

  • numpy.lib._iotools.LineSplitter.autostrip