DISPATCH
f90nml.namelist Namespace Reference

Classes

class  Namelist
 

Functions

def is_nullable_list (val, vtype)
 

Variables

 basestring = str
 

Detailed Description

Fortran namelist interface.

The ``Namelist`` is a representation of a Fortran namelist and its contents in
a Python environment.

:copyright: Copyright 2014 Marshall Ward, see AUTHORS for details.
:license: Apache License, Version 2.0, see LICENSE for details.

Function Documentation

◆ is_nullable_list()

def f90nml.namelist.is_nullable_list (   val,
  vtype 
)
Return True if list contains either values of type `vtype` or None.

Definition at line 687 of file namelist.py.

Referenced by f90nml.namelist.Namelist.__setitem__(), and f90nml.namelist.Namelist.patch().