瀏覽代碼

comments fixes

Marek Marczykowski-Górecki 6 年之前
父節點
當前提交
85c3368a0d
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      qubes/__init__.py
  2. 1 1
      qubes/tests/__init__.py

+ 1 - 1
qubes/__init__.py

@@ -257,7 +257,7 @@ class property(object):  # pylint: disable=redefined-builtin,invalid-name
                 pre_event=True,
                 name=self.__name__, newvalue=value)
 
-        instance._property_init(self, value) # pylint: disable=protected-access
+        instance._property_init(self, value)  # pylint: disable=protected-access
 
         if has_oldvalue:
             instance.fire_event('property-set:' + self.__name__,

+ 1 - 1
qubes/tests/__init__.py

@@ -500,7 +500,7 @@ class QubesTestCase(unittest.TestCase):
         :param subject: emitter which is being checked
         :type emitter: :py:class:`TestEmitter`
         :param str event: event identifier
-        :param list kwargs: when given, all items must appear in kwargs passed \
+        :param dict kwargs: when given, all items must appear in kwargs passed \
             to an event
         '''