Skip to content

Commit aa4a710

Browse files
committed
Docs: Mention "Menu, Add" instead of "Menu, Insert"
1 parent 7c69f97 commit aa4a710

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ahkpy/menu.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def add(
137137
set an icon for the specified menu item. For more details refer to
138138
:meth:`set_icon`. To remove the icon, pass ``None`` to *icon*.
139139
140-
:command: `Menu, $, Insert,, MenuItemName, %FuncObj%, Options
140+
:command: `Menu, $, Add, MenuItemName, %FuncObj%, Options
141141
<https://www.autohotkey.com/docs/commands/Menu.htm#Insert>`_
142142
"""
143143
return self._insert_or_update(
@@ -150,7 +150,7 @@ def add(
150150
def add_separator(self):
151151
"""Append a separator.
152152
153-
:command: `Menu, $, Insert,,
153+
:command: `Menu, $, Add
154154
<https://www.autohotkey.com/docs/commands/Menu.htm#Insert>`_
155155
"""
156156
self._call("Insert")
@@ -168,7 +168,7 @@ def add_submenu(
168168
169169
For *options* refer to :meth:`add`.
170170
171-
:command: `Menu, $, Insert,, MenuItemName, :Submenu, Options
171+
:command: `Menu, $, Add, MenuItemName, :Submenu, Options
172172
<https://www.autohotkey.com/docs/commands/Menu.htm#Insert>`_
173173
"""
174174
return self._insert_or_update(

0 commit comments

Comments
 (0)