gutenberg/_domain_model/types.py
def rdf_bind_to_string(rdf_type):
    """Python2/3 compatibility wrapper around rdflib.term.bind that binds a
    term to the appropriate string type.

    """
    string_type = unicode if sys.version_info < (3,) else str  # noqa
    bind(rdf_type, string_type)
Python2/3 compatibility wrapper around rdflib.term.bind that binds a
    term to the appropriate string type.

    
Python2/3 compatibility wrapper around rdflib.term.bind that binds a
term to the appropriate string type.
Python2 / 3 compatibility wrapper around rdflib . term . bind that binds a term to the appropriate string type .
def rdf_bind_to_string(rdf_type):
    string_type = unicode if sys.version_info < (3,) else str  
    bind(rdf_type, string_type)
def rdf_bind_to_string ( rdf_type ) : string_type = unicode if sys . version_info < ( 3 , ) else str bind ( rdf_type , string_type )
Python2/3 compatibility wrapper around rdflib.term.bind that binds a
term to the appropriate string type.
Python2 / 3 compatibility wrapper around rdflib . term . bind that binds a term to the appropriate string type .
"""Python2/3 compatibility wrapper around rdflib.term.bind that binds a
    term to the appropriate string type.

    """ # noqa
rdf_type