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

All Samples(8)  |  Call(2)  |  Derive(0)  |  Import(6)
partial(func, *args, **keywords) - new function with partial application
of the given arguments and keywords.

src/t/u/turses-0.2.22/turses/ui.py   turses(Download)
                           configuration)
from turses.models import is_DM, TWEET_MAXIMUM_CHARACTERS
from turses.utils import encode, is_hashtag, is_username, is_url
 
 
    string = unicode(string)
 
    if is_hashtag(string):
        return (hashtag, string)
    elif string.startswith('@') and is_username(string[1:]):

src/t/u/turses-HEAD/turses/ui.py   turses(Download)
                           configuration)
from turses.models import is_DM, TWEET_MAXIMUM_CHARACTERS
from turses.utils import encode, is_hashtag, is_username, is_url
 
 
    string = unicode(string)
 
    if is_hashtag(string):
        return (hashtag, string)
    elif string.startswith('@') and is_username(string[1:]):

src/t/u/turses-0.2.22/turses/models.py   turses(Download)
from turses.meta import (ActiveList, UnsortedActiveList, Updatable, Observable,
                         notify)
from turses.utils import prepend_at, sanitize_username, is_hashtag
 
 

src/t/u/turses-HEAD/turses/models.py   turses(Download)
from turses.meta import (ActiveList, UnsortedActiveList, Updatable, Observable,
                         notify)
from turses.utils import prepend_at, sanitize_username, is_hashtag
 
 

src/t/u/turses-HEAD/tests/test_utils.py   turses(Download)
import unittest
 
from turses.utils import is_username, is_hashtag, sanitize_username
 
 

src/t/u/turses-0.2.22/tests/test_utils.py   turses(Download)
import unittest
 
from turses.utils import is_username, is_hashtag, sanitize_username