Unverified Commit 7f09a983 authored by Hoantrbl's avatar Hoantrbl Committed by GitHub
Browse files

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

the lack of colon(:)
parent e843d73f
......@@ -56,7 +56,7 @@ from .converter1 import Converter1
# 使用注册器管理模块
@CONVERTERS.register_module()
def converter2(a, b)
def converter2(a, b):
return Converter1(a, b)
```
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment