提交 3b0da83c 编写于 作者: V Vipul A M 提交者: GitHub

Merge pull request #26594 from y-yagi/fix_formatting_of_define_callbacks

fix formatting of `define_callbacks` doc [ci skip]
...@@ -738,11 +738,11 @@ def reset_callbacks(name) ...@@ -738,11 +738,11 @@ def reset_callbacks(name)
# #
# ===== Notes # ===== Notes
# #
# +names+ passed to `define_callbacks` must not end with # +names+ passed to +define_callbacks+ must not end with
# `!`, `?` or `=`. # <tt>!</tt>, <tt>?</tt> or <tt>=</tt>.
# #
# Calling `define_callbacks` multiple times with the same +names+ will # Calling +define_callbacks+ multiple times with the same +names+ will
# overwrite previous callbacks registered with `set_callback`. # overwrite previous callbacks registered with +set_callback+.
def define_callbacks(*names) def define_callbacks(*names)
options = names.extract_options! options = names.extract_options!
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册