Skip to content

Commit b354aeb

Browse files
Add dict to list of built-types for danielgtaylor#53
1 parent 6d9e3fc commit b354aeb

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

betterproto/tests/inputs/namespace_builtin_types/namespace_builtin_types.proto

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,30 +8,31 @@ message Test {
88
string float = 2;
99
string complex = 3;
1010

11-
// https://docs.python.org/3/library/stdtypes.html#generator-types
12-
string list = 10;
13-
string tuple = 11;
14-
string range = 12;
11+
// https://docs.python.org/3/library/stdtypes.html#sequence-types-list-tuple-range
12+
string list = 4;
13+
string tuple = 5;
14+
string range = 6;
1515

1616
// https://docs.python.org/3/library/stdtypes.html#str
17-
string str = 21;
17+
string str = 7;
1818

1919
// https://docs.python.org/3/library/stdtypes.html#bytearray-objects
20-
string bytearray = 22;
20+
string bytearray = 8;
2121

2222
// https://docs.python.org/3/library/stdtypes.html#bytes-and-bytearray-operations
23-
string bytes = 23;
23+
string bytes = 9;
2424

2525
// https://docs.python.org/3/library/stdtypes.html#memory-views
26-
string memoryview = 24;
26+
string memoryview = 10;
2727

2828
// https://docs.python.org/3/library/stdtypes.html#set-types-set-frozenset
29-
string set = 25;
30-
string frozenset = 26;
29+
string set = 11;
30+
string frozenset = 12;
3131

3232
// https://docs.python.org/3/library/stdtypes.html#dict
33-
string map = 27;
33+
string map = 13;
34+
string dict = 14;
3435

3536
// https://docs.python.org/3/library/stdtypes.html#boolean-values
36-
string bool = 28;
37+
string bool = 15;
3738
}

0 commit comments

Comments
 (0)