Skip to content

Commit bdba5fb

Browse files
fix precedence bug
1 parent e11ca24 commit bdba5fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/apipkg/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ def getmod():
191191
mod.append(x)
192192
return mod[0]
193193

194-
x = modpath + ("." + attrname) if attrname else ""
194+
x = modpath + ("." + attrname if attrname else "")
195195
repr_result = "<AliasModule {!r} for {!r}>".format(modname, x)
196196

197197
class AliasModule(ModuleType):

0 commit comments

Comments
 (0)