Commit 9f14005
authored
Fix outdated note on return type of SerializeToString
The correct return type of this functions is not `str` at all;¹ it appears that this documentation was not updated when the implementation moved from Python 2 to 3.
¹ https://github.com/python/typeshed/blob/1a9eef437a11c77817266961869ca66c49a14ac2/stubs/protobuf/google/protobuf/message.pyi#L261 parent 13bf22c commit 9f14005
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
314 | 314 | | |
315 | 315 | | |
316 | 316 | | |
317 | | - | |
318 | | - | |
| 317 | + | |
319 | 318 | | |
320 | 319 | | |
321 | 320 | | |
| |||
0 commit comments