I think that it's a bug.

from b import classParent
class classChild(classParent):
    def __init__(self):
        print 'blabla'
    def anyfunction(self):
        print 'anyfunction'

object = classChild()
object.<C-x><C-o>

it's not working, because the line 'from b import classParent' appears after
class Child's declaration when the src (variable of pythoncomplete.vim) is
created.

This patch changes this.
The line 'from b import classParent' will appear together with all imports
(in other words, before all class' declaration)

-- 
----------------------------------------------
Roberto Miura Honji
LAS - Laboratório de Administração e Segurança de Sistemas
Engenharia de Computação - 2006
Instituto de Computação - UNICAMP

email: [email protected] (principal)
email: [email protected]
msn:   [email protected]
-------------------------------------------

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Attachment: pythoncompletePatch.diff
Description: Binary data

Raspunde prin e-mail lui