Staging
v0.5.1
https://github.com/python/cpython
Revision 90e651863a55f091c4c488bc0c3ec9da991ec534 authored by Fred Drake on 11 July 2001, 18:49:00 UTC, committed by Fred Drake on 11 July 2001, 18:49:00 UTC
polling objects.  This closes SF bug #439823.

Fixed a minor markup bug.
1 parent 44589dd
Raw File
Tip revision: 90e651863a55f091c4c488bc0c3ec9da991ec534 authored by Fred Drake on 11 July 2001, 18:49:00 UTC
Added information about the timeout parameter to the poll() method for
Tip revision: 90e6518
getbuildinfo.c
#include "config.h"

#ifdef macintosh
#include "macbuildno.h"
#endif

#ifndef DONT_HAVE_STDIO_H
#include <stdio.h>
#endif

#ifndef DATE
#ifdef __DATE__
#define DATE __DATE__
#else
#define DATE "xx/xx/xx"
#endif
#endif

#ifndef TIME
#ifdef __TIME__
#define TIME __TIME__
#else
#define TIME "xx:xx:xx"
#endif
#endif

#ifndef BUILD
#define BUILD 0
#endif


const char *
Py_GetBuildInfo(void)
{
	static char buildinfo[50];
	sprintf(buildinfo, "#%d, %.20s, %.9s", BUILD, DATE, TIME);
	return buildinfo;
}
back to top