Logo Search packages:      
Sourcecode: ipython version File versions  Download package

def IPython::Prompts::BasePrompt::__nonzero__ (   self  )  [inherited]

Implement boolean behavior.

Checks whether the p_str attribute is non-empty

Definition at line 332 of file Prompts.py.

00332                          :
        """Implement boolean behavior.

        Checks whether the p_str attribute is non-empty"""

        return bool(self.p_template)

class Prompt1(BasePrompt):


Generated by  Doxygen 1.6.0   Back to index