Skip to content

Commit 8dbb33b

Browse files
pybind11_protobuf authorscopybara-github
authored andcommitted
Fix typo on proto_cast_util
PiperOrigin-RevId: 468733578
1 parent 0116cce commit 8dbb33b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pybind11_protobuf/proto_cast_util.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ class PythonDescriptorPoolWrapper {
483483
try {
484484
auto descriptor = pool_.attr("FindMessageTypeByName")(containing_type);
485485
auto file =
486-
pool_.attr("FindExtensionByNymber")(descriptor, field_number)
486+
pool_.attr("FindExtensionByNumber")(descriptor, field_number)
487487
.attr("file");
488488
return CopyToFileDescriptorProto(file, output);
489489
} catch (py::error_already_set& e) {

0 commit comments

Comments
 (0)