Skip to content

Commit 1f2e00e

Browse files
committed
docs(contributing): make _make_data the first utilities exception
Owner ruling: _make_data goes first in the utilities group, before the reads.
1 parent 466af7f commit 1f2e00e

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎docs/source/contributing/conventions/protocol-member-order.rst‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ The Order
2222
pair. Within each group the order is the enum value order of the code or type
2323
each method handles, not alphabetical by name.
2424

25+
**Exception:** ``_make_data()`` goes first in the utilities group, before the
26+
reads.
27+
2528
Example
2629
~~~~~~~
2730

@@ -37,6 +40,9 @@ Example
3740
...
3841
3942
# Utilities.
43+
def _make_data(cls, data, ...): # exception: first in the group
44+
...
45+
4046
def _read_foo_field(self, ...):
4147
...
4248

0 commit comments

Comments
 (0)