Merge pull request #4591 from PySimpleGUI/Dev-latest

Fix for a couple of docstrings
This commit is contained in:
PySimpleGUI 2021-08-06 17:40:27 -04:00 committed by GitHub
commit 09778b6a21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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: