Merge "Update comment + six.text_type instead of str for name"
This commit is contained in:
@@ -139,6 +139,7 @@ class Atom(object):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def name(self):
|
def name(self):
|
||||||
|
"""A non-unique name for this atom (human readable)."""
|
||||||
return self._name
|
return self._name
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ class Flow(object):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(self, name):
|
def __init__(self, name):
|
||||||
self._name = str(name)
|
self._name = six.text_type(name)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def name(self):
|
def name(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user