datemagic

This commit is contained in:
rasbt 2014-06-28 01:29:04 -04:00
parent 692e1f99f5
commit 94019bc82f

View File

@ -53,7 +53,7 @@ class DateMagic(Magics):
@argument('-z', '--timezone', action='store_true', help='prints time zone') @argument('-z', '--timezone', action='store_true', help='prints time zone')
@argument('-y', '--python', action='store_true', help='prints Python version') @argument('-y', '--python', action='store_true', help='prints Python version')
@argument('-i', '--ipython', action='store_true', help='prints IPython version') @argument('-i', '--ipython', action='store_true', help='prints IPython version')
@argument('-p', '--packages', action=str, help='prints versions of Python modules and packages') @argument('-p', '--packages', type=str, help='prints versions of Python modules and packages')
def date(self, line): def date(self, line):
""" """
IPython magic function for printing the current date, time, Python, IPython magic function for printing the current date, time, Python,