소스 검색

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
         '''