mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
* pythonmain.c: -k option, usage message, more environment flags.
(the latter also in frozenmain.c) * ceval.c: global 'killprint' flag raises exception when printing an expression statement's value (useful for finding stray output) * timemodule.c: add asctime() and ctime(). Change julian date to 1-based origin (as intended and documented). * Removed unused DO_TIMES stuff from timemodule.c. Added 'epoch' and 'day0' globals (year where time.time() == 0 and day of the week the epoch started).
This commit is contained in:
parent
5ef74b8f8e
commit
9e90a672b4
5 changed files with 118 additions and 59 deletions
|
|
@ -40,7 +40,7 @@ listtree(n)
|
|||
|
||||
static int level, atbol;
|
||||
|
||||
void
|
||||
static void
|
||||
listnode(fp, n)
|
||||
FILE *fp;
|
||||
node *n;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue