From 3f588a5f8e2f9fbaf2c2329eb23a34c362d7a345 Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Mon, 21 Mar 2011 22:25:27 +0000 Subject: added comments to Python samples (#2709) --- (limited to 'pysamples/push_time.py') diff --git a/pysamples/push_time.py b/pysamples/push_time.py index ed823ee..1945ca4 100644 --- a/pysamples/push_time.py +++ b/pysamples/push_time.py @@ -21,6 +21,11 @@ # This procedure is invoked when the user-definable block on the "extras" # palette is selected. +# Usage: Import this code into a Python (user-definable) block; when +# this code is run, the current hour, minute, and second are pushed to +# the FILO heap. To use these values, pop second, then minute, then +# hour from the FILO. + def myblock(tw, x): # ignore second argument -- cgit v0.9.1