Skip to content

Commit 4ed627a

Browse files
committed
Improve win32com.client.build.MapEntry docstring
1 parent 16c4981 commit 4ed627a

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

com/win32com/client/build.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ class NotSupportedException(Exception):
7070

7171

7272
class MapEntry:
73-
"Simple holder for named attibutes - items in a map."
73+
"""Simple holder for named attributes - items in a map."""
7474

7575
def __init__(
7676
self,
@@ -92,9 +92,8 @@ def __init__(
9292
self.doc = doc
9393
self.resultCLSID = resultCLSID
9494
self.resultDocumentation = resultDoc
95-
self.wasProperty = (
96-
0 # Have I been transformed into a function so I can pass args?
97-
)
95+
self.wasProperty = 0
96+
"""Has this MapEntry been transformed into a function so it can pass args?"""
9897
self.hidden = hidden
9998

10099
def __repr__(self):

0 commit comments

Comments
 (0)