浏览代码

Removed unused param in open.py docstring

Brian Landry 1 年之前
父节点
当前提交
0396cf60f9
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      nicegui/functions/open.py

+ 0 - 1
nicegui/functions/open.py

@@ -12,7 +12,6 @@ def open(target: Union[Callable[..., Any], str]) -> None:
     User events like button clicks provide such a socket.
 
     :param target: page function or string that is a an absolute URL or relative path from base URL
-    :param socket: optional WebSocket defining the target client
     """
     path = target if isinstance(target, str) else globals.page_routes[target]
     globals.get_client().open(path)