[Docs] Fix the example error in registry.md (#2243)

the lack of colon(:)
pull/2245/head
Hoantrbl 2022-09-02 11:37:45 +08:00 committed by GitHub
parent e843d73fc7
commit 7f09a983c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ from .converter1 import Converter1
# 使用注册器管理模块
@CONVERTERS.register_module()
def converter2(a, b)
def converter2(a, b):
return Converter1(a, b)
```