glue/README.md
2014-10-30 14:38:50 -04:00

910 B

#How to use Glue

>>> from glue import glue
>>> print glue("any","number","of","things","together")
any number of things together

>>> print glue("any","number","of","things","together",where="anywhere")
any number of things together anywhere

>>> print glue("any","number","of","things","together",["even",["nested","lists"]])
any number of things together even nested lists

>>> print glue("any","number","of","things","together", ["even",["nested","lists"]], "and numbers", 12345)
any number of things together even nested lists and numbers 12345

Coverage

Name    Stmts   Miss  Cover   Missing
-------------------------------------
glue       14      0   100%   
tests      24      0   100%   
-------------------------------------
TOTAL      38      0   100%   

#Protip You should probably just use str.join as this is satire.