Skip to content

Commit 1c12eac

Browse files
committed
Add docstrng for qt_compat module
1 parent 6edbea3 commit 1c12eac

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

pytestqt/qt_compat.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1-
'''
2-
Initial sources from https://github.com/epage/PythonUtils.
1+
"""
2+
Provide a common way to import Qt classes used by pytest-qt in a unique manner,
3+
abstracting API differences between PyQt4, PyQt5 and PySide.
34
4-
Modified to support other modules besides QtCore.
5-
'''
5+
.. note:: This module is not part of pytest-qt public API, hence its interface
6+
may change between releases and users should not rely on it.
7+
8+
Based on from https://github.com/epage/PythonUtils.
9+
"""
610

711
from __future__ import with_statement
812
from __future__ import division

0 commit comments

Comments
 (0)