removed rtype and param typing from doc strings to help avoid maintaining duplicate information provided by type hints
This commit is contained in:
parent
9d89877b20
commit
f4ddf310a8
32 changed files with 1091 additions and 1357 deletions
|
@ -95,7 +95,7 @@ class CanvasGraph(tk.Canvas):
|
|||
"""
|
||||
Reset the private variables CanvasGraph object, redraw nodes given the new grpc
|
||||
client.
|
||||
:param core.api.grpc.core_pb2.Session session: session to draw
|
||||
:param session: session to draw
|
||||
"""
|
||||
# hide context
|
||||
self.hide_context()
|
||||
|
|
|
@ -205,10 +205,10 @@ class Toolbar(ttk.Frame):
|
|||
"""
|
||||
Create button and put it on the frame
|
||||
|
||||
:param PIL.Image image: button image
|
||||
:param image: button image
|
||||
:param func: the command that is executed when button is clicked
|
||||
:param tkinter.Frame frame: frame that contains the button
|
||||
:param str label: button label
|
||||
:param frame: frame that contains the button
|
||||
:param label: button label
|
||||
"""
|
||||
button = ttk.Button(
|
||||
frame, image=image, text=label, compound=tk.TOP, style=Styles.picker_button
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue