]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
_synthesize(): Helper function: when the users passes a specific
authorFred Drake <fdrake@acm.org>
Thu, 12 Apr 2001 22:07:27 +0000 (22:07 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 12 Apr 2001 22:07:27 +0000 (22:07 +0000)
commitf4e5bd9df540aa5b24e47d03dbb798ed277793f7
tree3955ef589db0215e1ef79fe149c640e6921f6021
parentbb0bae6da2c322971041d7943d1096d0590a9d3f
_synthesize():  Helper function:  when the users passes a specific
                value for the 'using' parameter of the get() function
                or the BROWSER environment variable, if the thing
                passed in is a path (as seems to be the case with KDE)
                instead of a short name, examine the available
                controllers to see if we can synthesize one based on a
                pre-registered controller that shares the same base
                name.

get():  If the user specifies a browser we don't know about, use
        _synthesize() to attempt to create a usable controller.

Some small adjustments were needed in some of the browser classes to
support this.
Lib/webbrowser.py