Cann't automatic completion code with the instance via copy and deepcopy

  • 1
  • 9

from copy import copy
class A:
def test(self):
pass

a = A()
b = copy(a)
b.#noting suggest

I expected the method "test" will auto suggested, but no, because b is a instance copy


Screenshot-1.png
PyCharm does not currently have any special support for the copy() function. You're welcome to file a feature request at http://youtrack.jetbrains.com/
--
Dmitry Jemerov, Chief Technology Officer, JetBrains