File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,11 +42,6 @@ static void err_input(perrdetail *);
4242static void initsigs (void );
4343static void call_sys_exitfunc (void );
4444static void call_ll_exitfuncs (void );
45-
46- #ifdef Py_TRACE_REFS
47- int _Py_AskYesNo (char * prompt );
48- #endif
49-
5045extern void _PyUnicode_Init (void );
5146extern void _PyUnicode_Fini (void );
5247extern void _PyCodecRegistry_Init (void );
@@ -1389,21 +1384,6 @@ initsigs(void)
13891384 PyOS_InitInterrupts (); /* May imply initsignal() */
13901385}
13911386
1392- #ifdef Py_TRACE_REFS
1393- /* Ask a yes/no question */
1394-
1395- int
1396- _Py_AskYesNo (char * prompt )
1397- {
1398- char buf [256 ];
1399-
1400- fprintf (stderr , "%s [ny] " , prompt );
1401- if (fgets (buf , sizeof buf , stdin ) == NULL )
1402- return 0 ;
1403- return buf [0 ] == 'y' || buf [0 ] == 'Y' ;
1404- }
1405- #endif
1406-
14071387#ifdef MPW
14081388
14091389/* Check for file descriptor connected to interactive device.
You can’t perform that action at this time.
0 commit comments