Skip to content

Commit

Permalink
Update README.rst.
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-golovanov committed Apr 4, 2017
1 parent db015f5 commit 87d2ad3
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ Example
{'bytearray': b'\\x00\\x01\\x02', 'tuple': (u'2016-12-06', u'2016-12-06 11:22:33.444444', 'item1',
'пункт2', u'пункт3', 4, 4.44, b'\\x00\\x01\\x02', None, True, False), 'int': 4, 'float': 4.44,
'datetime': u'2016-12-06 11:22:33.444444', 'date': u'2016-12-06', 'False': False,
'generator': (3, 4, 5), 'str2': 'пункт2', 'list': [u'2016-12-06', u'2016-12-06 11:22:33.444444',
'item1', 'пункт2', u'пункт3', 4, 4.44, b'\\x00\\x01\\x02', None, True, False], 'str': 'item1',
u'юникод': u'пункт3', 'True': True, 'NoneType': None}
'generator': '<generator object <genexpr> at 0x7ff51a58df00>', 'str2': 'пункт2',
'list': [u'2016-12-06', u'2016-12-06 11:22:33.444444', 'item1', 'пункт2', u'пункт3', 4, 4.44,
b'\\x00\\x01\\x02', None, True, False], 'str': 'item1', u'юникод': u'пункт3', 'True': True, 'NoneType': None}
# use unilog.as_unicode function with pretty print
>>> print unilog.as_unicode(data, pretty=True)
Expand All @@ -84,11 +84,7 @@ Example
'datetime': u'2016-12-06 11:22:33.444444',
'date': u'2016-12-06',
'False': False,
'generator': (
3,
4,
5
),
'generator': '<generator object <genexpr> at 0x7ff51a58df00>',
'str2': 'пункт2',
'list': [
u'2016-12-06',
Expand Down

0 comments on commit 87d2ad3

Please sign in to comment.