view Include/enumobject.h @ 78236:e683084c8bb9

Consistently raise a TypeError when a non str is passed to hashlib.new regardless of which of the two implementations of new is used.
author Gregory P. Smith <greg@krypto.org>
date Sat, 21 Jul 2012 21:20:44 -0700
parents 41c4e143e6e6
children
line wrap: on
line source

#ifndef Py_ENUMOBJECT_H
#define Py_ENUMOBJECT_H

/* Enumerate Object */

#ifdef __cplusplus
extern "C" {
#endif

PyAPI_DATA(PyTypeObject) PyEnum_Type;
PyAPI_DATA(PyTypeObject) PyReversed_Type;

#ifdef __cplusplus
}
#endif

#endif /* !Py_ENUMOBJECT_H */