summaryrefslogtreecommitdiff
path: root/pyasn1/type/useful.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyasn1/type/useful.py')
-rw-r--r--pyasn1/type/useful.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/pyasn1/type/useful.py b/pyasn1/type/useful.py
index a05a9a6..4e36eff 100644
--- a/pyasn1/type/useful.py
+++ b/pyasn1/type/useful.py
@@ -2,7 +2,7 @@
# This file is part of pyasn1 software.
#
# Copyright (c) 2005-2017, Ilya Etingof <etingof@gmail.com>
-# License: http://pyasn1.sf.net/license.html
+# License: http://snmplabs.com/pyasn1/license.html
#
import datetime
from pyasn1.type import univ, char, tag
@@ -61,7 +61,7 @@ class TimeMixIn(object):
Returns
-------
:
- new instance of :py:class:`datetime.datetime` object
+ new instance of :py:class:`datetime.datetime` object
"""
text = str(self)
if text.endswith('Z'):
@@ -127,10 +127,10 @@ class TimeMixIn(object):
Parameters
----------
- dt : :py:class:`datetime.datetime` object
- The `datetime.datetime` object to initialize the |ASN.1| object from
-
-
+ dt: :py:class:`datetime.datetime` object
+ The `datetime.datetime` object to initialize the |ASN.1| object
+ from
+
Returns
-------
: