You are viewing an older version (2.4.3). Go to latest (2.4.4)
{ } Raw JSON

bundles / numpy 2.4.3 / numpy / lib / _datasource / _check_mode

function

numpy.lib._datasource:_check_mode

source: /numpy/lib/_datasource.py :44

Signature

def   _check_mode ( mode encoding newline )

Summary

Check mode and that encoding and newline are compatible.

Parameters

mode : str

File open mode.

encoding : str

File encoding.

newline : str

Newline for text files.

Aliases

  • numpy.lib._datasource._check_mode