Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(14)  |  Call(0)  |  Derive(0)  |  Import(14)
str(object='') -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

src/p/y/pylama_pylint-0.1.6/pylama_pylint/astroid/scoped_nodes.py   pylama_pylint(Download)
     Dict, From, List, Pass, Raise, Return, Tuple, Yield, \
     LookupMixIn, const_factory as cf, unpack_infer
from astroid.bases import NodeNG, InferenceContext, Instance,\
     YES, Generator, UnboundMethod, BoundMethod, _infer_stmts, copy_context, \
     BUILTINS
    def pytype(self):
        return '%s.module' % BUILTINS
 
    def display_type(self):
        return 'Module'
    def pytype(self):
        if 'method' in self.type:
            return '%s.instancemethod' % BUILTINS
        return '%s.function' % BUILTINS
 
    def pytype(self):
        if self.newstyle:
            return '%s.type' % BUILTINS
        return '%s.classobj' % BUILTINS
 

src/p/y/pylama_pylint-0.1.6/astroid/scoped_nodes.py   pylama_pylint(Download)
     Dict, From, List, Pass, Raise, Return, Tuple, Yield, \
     LookupMixIn, const_factory as cf, unpack_infer
from astroid.bases import NodeNG, InferenceContext, Instance,\
     YES, Generator, UnboundMethod, BoundMethod, _infer_stmts, copy_context, \
     BUILTINS
    def pytype(self):
        return '%s.module' % BUILTINS
 
    def display_type(self):
        return 'Module'
    def pytype(self):
        if 'method' in self.type:
            return '%s.instancemethod' % BUILTINS
        return '%s.function' % BUILTINS
 
    def pytype(self):
        if self.newstyle:
            return '%s.type' % BUILTINS
        return '%s.classobj' % BUILTINS
 

src/a/s/astroid-1.1.1/scoped_nodes.py   astroid(Download)
     Dict, From, List, Pass, Raise, Return, Tuple, Yield, YieldFrom, \
     LookupMixIn, const_factory as cf, unpack_infer
from astroid.bases import NodeNG, InferenceContext, Instance,\
     YES, Generator, UnboundMethod, BoundMethod, _infer_stmts, copy_context, \
     BUILTINS
    def pytype(self):
        return '%s.module' % BUILTINS
 
    def display_type(self):
        return 'Module'
    def pytype(self):
        if 'method' in self.type:
            return '%s.instancemethod' % BUILTINS
        return '%s.function' % BUILTINS
 
    def pytype(self):
        if self.newstyle:
            return '%s.type' % BUILTINS
        return '%s.classobj' % BUILTINS
 

src/p/y/pylama_pylint-0.1.6/pylama_pylint/astroid/node_classes.py   pylama_pylint(Download)
 
from astroid.exceptions import NoDefault
from astroid.bases import (NodeNG, Statement, Instance, InferenceContext,
                                 _infer_stmts, YES, BUILTINS)
from astroid.mixins import BlockRangeMixIn, AssignTypeMixin, \
    def pytype(self):
        return '%s.dict' % BUILTINS
 
    def get_children(self):
        """get children of a Dict node"""
    def pytype(self):
        return '%s.list' % BUILTINS
 
    def getitem(self, index, context=None):
        return self.elts[index]
    def pytype(self):
        return '%s.set' % BUILTINS
 
    def itered(self):
        return self.elts
    def pytype(self):
        return '%s.tuple' % BUILTINS
 
    def getitem(self, index, context=None):
        return self.elts[index]

src/p/y/pylama_pylint-0.1.6/astroid/node_classes.py   pylama_pylint(Download)
 
from astroid.exceptions import NoDefault
from astroid.bases import (NodeNG, Statement, Instance, InferenceContext,
                                 _infer_stmts, YES, BUILTINS)
from astroid.mixins import BlockRangeMixIn, AssignTypeMixin, \
    def pytype(self):
        return '%s.dict' % BUILTINS
 
    def get_children(self):
        """get children of a Dict node"""
    def pytype(self):
        return '%s.list' % BUILTINS
 
    def getitem(self, index, context=None):
        return self.elts[index]
    def pytype(self):
        return '%s.set' % BUILTINS
 
    def itered(self):
        return self.elts
    def pytype(self):
        return '%s.tuple' % BUILTINS
 
    def getitem(self, index, context=None):
        return self.elts[index]

src/a/s/astroid-1.1.1/node_classes.py   astroid(Download)
 
from astroid.exceptions import NoDefault
from astroid.bases import (NodeNG, Statement, Instance, InferenceContext,
                                 _infer_stmts, YES, BUILTINS)
from astroid.mixins import BlockRangeMixIn, AssignTypeMixin, \
    def pytype(self):
        return '%s.dict' % BUILTINS
 
    def get_children(self):
        """get children of a Dict node"""
    def pytype(self):
        return '%s.list' % BUILTINS
 
    def getitem(self, index, context=None):
        return self.elts[index]
    def pytype(self):
        return '%s.set' % BUILTINS
 
    def itered(self):
        return self.elts
    def pytype(self):
        return '%s.tuple' % BUILTINS
 
    def getitem(self, index, context=None):
        return self.elts[index]

src/p/y/pylama_pylint-0.1.6/pylama_pylint/astroid/raw_building.py   pylama_pylint(Download)
from astroid.nodes import (Module, Class, Const, const_factory, From,
    Function, EmptyNode, Name, Arguments)
from astroid.bases import BUILTINS, Generator
from astroid.manager import AstroidManager
MANAGER = AstroidManager()
                # >>> print object.__new__.__module__
                # None
                modname = BUILTINS
            else:
                attach_dummy_node(node, name, member)

src/p/y/pylama_pylint-0.1.6/astroid/raw_building.py   pylama_pylint(Download)
from astroid.nodes import (Module, Class, Const, const_factory, From,
    Function, EmptyNode, Name, Arguments)
from astroid.bases import BUILTINS, Generator
from astroid.manager import AstroidManager
MANAGER = AstroidManager()
                # >>> print object.__new__.__module__
                # None
                modname = BUILTINS
            else:
                attach_dummy_node(node, name, member)

src/a/s/astroid-1.1.1/raw_building.py   astroid(Download)
from astroid.nodes import (Module, Class, Const, const_factory, From,
    Function, EmptyNode, Name, Arguments)
from astroid.bases import BUILTINS, Generator
from astroid.manager import AstroidManager
MANAGER = AstroidManager()
                # >>> print object.__new__.__module__
                # None
                modname = BUILTINS
            else:
                attach_dummy_node(node, name, member)

src/p/y/pylama_pylint-0.1.6/pylama_pylint/pylint/checkers/base.py   pylama_pylint(Download)
            except astroid.InferenceError:
                continue
            builtins = astroid.bases.BUILTINS
            if (isinstance(value, astroid.Instance) and
                value.qname() in ['.'.join([builtins, x]) for x in ('set', 'dict', 'list')]):

  1 | 2  Next