### Navigation

- index
- modules |
- next |
- previous |
- PyQt 4.8.6 Reference Guide »

# Support for Keyword Arguments

Starting with v4.7 PyQt supports the use of keyword arguments for optional arguments.

One thing to be aware of is that, although the PyQt and Qt documentation may indicate that an argument has a particular name, you may find that PyQt actually uses a different name. This is because the name of an argument is not part of the Qt API and there is some inconsistency in the way that similar arguments are named. Different versions of Qt may use a different name for an argument which wouldn’t affect the C++ API but would break the Python API.

The docstrings that PyQt generates for all classes, functions and methods will contain the correct argument names. In a future version of PyQt the documentation will also contain the correct argument names.

### Navigation

- index
- modules |
- next |
- previous |
- PyQt 4.8.6 Reference Guide »