Implementation for the FastaReader and FastaFile classes.
More...
#include "FastaReader.h"
#include "../formats/fasta.h"
#include "FastaBuff.h"
#include "unicodeobject.h"
#include <stdint.h>
#include <stdio.h>
#include <string.h>
Implementation for the FastaReader and FastaFile classes.
◆ BUFFER_GROWTH
◆ FastaFile_methods
PyMethodDef FastaFile_methods[] |
|
static |
Initial value:= {
{
"__enter__", (PyCFunction)
file_enter, METH_NOARGS,
""},
{
"__exit__", (PyCFunction)
file_exit, METH_VARARGS,
""},
{NULL, NULL, 0, NULL}
}
PyObject * file_enter(struct file *self, PyObject *args)
enter method for file objects
Definition reader.c:11
PyObject * file_exit(struct file *self, PyObject *args, PyObject *kwds)
exit method for file objects
Definition reader.c:26
Methods for the FastaFile class.