Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Tree: ac9be987ff
Fetching contributors…

Cannot retrieve contributors at this time

executable file 20 lines (12 sloc) 600 Bytes
#Copyright (c) 2011 Yahoo! Inc. All rights reserved. Licensed under the BSD License.
# See accompanying LICENSE file or for the specific language governing permissions and limitations under the License.
__author__ = "BOSS Team"
from yos.crawl import object_dict
from types import DictType, ListType, TupleType
OBJ_DICT_TYPE = type(object_dict.object_dict())
def is_dict(td):
return td is DictType or td is OBJ_DICT_TYPE
def is_ordered(to):
return to is ListType or to is TupleType
def is_list(o):
return o is ListType
Jump to Line
Something went wrong with that request. Please try again.