nngogol / PySimpleGUIDocGen

Software for making documentation for PySimpleGUI
9 stars 2 forks source link

BUG - getting warnings about empty table when one is supplied #57

Closed PySimpleGUI closed 4 years ago

PySimpleGUI commented 4 years ago

image

The definition looks like this:


def EasyPrintClose():
    """
    Close a previously opened EasyPrint window
    :return:
    :rtype:
    """
    if _DebugWin.debug_window is not None:
        _DebugWin.debug_window.Close()
        _DebugWin.debug_window = None

I've tried removing the return too and I get the same error.

The output in the call_reference.md file looks OK because it still shows the description and the call:

image

I think this is a case where it's a false warning and can be removed.

The question - are there situations where a warning is still needed that removing this warning will cause us to miss?

nngogol commented 4 years ago

fixed