mirror of
https://github.com/rasbt/python_reference.git
synced 2024-11-27 14:01:15 +00:00
datemagic
This commit is contained in:
parent
692e1f99f5
commit
94019bc82f
|
@ -53,7 +53,7 @@ class DateMagic(Magics):
|
|||
@argument('-z', '--timezone', action='store_true', help='prints time zone')
|
||||
@argument('-y', '--python', action='store_true', help='prints Python 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):
|
||||
"""
|
||||
IPython magic function for printing the current date, time, Python,
|
||||
|
|
Loading…
Reference in New Issue
Block a user