@spiceErrorCheck<EOL>def unload(filename):
if isinstance(filename, list):<EOL><INDENT>for f in filename:<EOL><INDENT>libspice.unload_c(stypes.stringToCharP(f))<EOL><DEDENT>return<EOL><DEDENT>filename = stypes.stringToCharP(filename)<EOL>libspice.unload_c(filename)<EOL>
Unload a SPICE kernel.

http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/unload_c.html

:param filename: The name of a kernel to unload.
:type filename: str