Fix for a couple of docstrings

This commit is contained in:
PySimpleGUI 2021-08-06 17:40:12 -04:00
parent bd32b89caa
commit 1e08105e45
1 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
#!/usr/bin/python3 #!/usr/bin/python3
version = __version__ = "4.46.0.46 Unreleased\nAdded exception details if have a problem with the wm_overriderediect" version = __version__ = "4.46.0.47 Unreleased\nAdded exception details if have a problem with the wm_overriderediect. docstring fix."
__version__ = version.split()[0] # For PEP 396 and PEP 345 __version__ = version.split()[0] # For PEP 396 and PEP 345
@ -6139,7 +6139,7 @@ class TabGroup(Element):
Not recommended user call. Used to add rows of Elements to the Frame Element. Not recommended user call. Used to add rows of Elements to the Frame Element.
:param *args: The list of elements for this row :param *args: The list of elements for this row
:type: *args: List[Element] :type *args: List[Element]
""" """
NumRows = len(self.Rows) # number of existing rows is our row number NumRows = len(self.Rows) # number of existing rows is our row number
@ -14477,7 +14477,7 @@ def _no_titlebar_setup(window):
Calling twice seems to have had better overall results so that's what's currently done. Calling twice seems to have had better overall results so that's what's currently done.
The MAC has been the problem with this feature. It's been a chronic problem on the Mac. The MAC has been the problem with this feature. It's been a chronic problem on the Mac.
:param window: window to turn off the titlebar if indicated in the settings :param window: window to turn off the titlebar if indicated in the settings
:type: Window :type window: Window
""" """
try: try:
if window.NoTitleBar: if window.NoTitleBar: