@@ -33,7 +33,7 @@ def attribute(
3333 metadata = None ,
3434): # NOQA
3535 """
36- A generic attribute with help metadata and that is not included in the
36+ Return a generic attribute with help metadata and that is not included in the
3737 representation by default.
3838 """
3939 metadata = metadata or dict ()
@@ -67,7 +67,7 @@ def Boolean(
6767 help = None ,
6868): # NOQA
6969 """
70- A boolean attribute.
70+ Return a boolean attribute.
7171 """
7272 return attribute (
7373 default = default ,
@@ -94,7 +94,7 @@ def TriBoolean(
9494 help = None ,
9595): # NOQA
9696 """
97- A tri-boolean attribute with possible values of None, True and False.
97+ Return a tri-boolean attribute with possible values of None, True and False.
9898 """
9999 return attribute (
100100 default = default ,
@@ -121,7 +121,7 @@ def String(
121121 help = None ,
122122): # NOQA
123123 """
124- A string attribute.
124+ Return a string attribute.
125125 """
126126 return attribute (
127127 default = default ,
@@ -148,7 +148,7 @@ def Integer(
148148 help = None ,
149149): # NOQA
150150 """
151- An integer attribute.
151+ Return an integer attribute.
152152 """
153153 converter = converter or attr .converters .optional (int )
154154 return attribute (
@@ -176,7 +176,7 @@ def Float(
176176 help = None ,
177177): # NOQA
178178 """
179- A float attribute.
179+ Return a float attribute.
180180 """
181181 return attribute (
182182 default = default ,
@@ -204,7 +204,7 @@ def List(
204204 help = None ,
205205): # NOQA
206206 """
207- A list attribute: the optional item_type defines the type of items it stores.
207+ Return a list attribute: the optional item_type defines the type of items it stores.
208208 """
209209 if default is attr .NOTHING :
210210 default = attr .Factory (list )
@@ -235,7 +235,7 @@ def Mapping(
235235 label = None ,
236236): # NOQA
237237 """
238- A mapping attribute: the optional value_type defines the type of values it
238+ Return a mapping attribute: the optional value_type defines the type of values it
239239 stores. The key is always a string.
240240
241241 Notes: in Python 2 the type is Dict as there is no typing available for
@@ -274,7 +274,7 @@ def Date(
274274 help = None ,
275275): # NOQA
276276 """
277- A date attribute. It always serializes to an ISO date string.
277+ Return a date attribute. It always serializes to an ISO date string.
278278 Behavior is TBD and for now this is exactly a string.
279279 """
280280 return String (
0 commit comments