Fix incorrect result of getmodpath method.
This commit is contained in:
1
AUTHORS
1
AUTHORS
@@ -261,6 +261,7 @@ Virgil Dupras
|
||||
Vitaly Lashmanov
|
||||
Vlad Dragos
|
||||
Volodymyr Piskun
|
||||
Wei Lin
|
||||
Wil Cooley
|
||||
William Lee
|
||||
Wim Glenn
|
||||
|
||||
1
changelog/6189.bugfix.rst
Normal file
1
changelog/6189.bugfix.rst
Normal file
@@ -0,0 +1 @@
|
||||
Fix incorrect result of ``getmodpath`` method.
|
||||
@@ -285,8 +285,7 @@ class PyobjMixin(PyobjContext):
|
||||
break
|
||||
parts.append(name)
|
||||
parts.reverse()
|
||||
s = ".".join(parts)
|
||||
return s.replace(".[", "[")
|
||||
return ".".join(parts)
|
||||
|
||||
def reportinfo(self):
|
||||
# XXX caching?
|
||||
|
||||
Reference in New Issue
Block a user