commit | f5a10fb05640273dca34c1cf2809e2207f96b19f | [log] [tgz] |
---|---|---|
author | Josh Kuhn <deontologician@gmail.com> | Sun May 19 04:46:55 2013 |
committer | Josh Kuhn <deontologician@gmail.com> | Sun May 19 05:04:13 2013 |
tree | 45430025cfde078a5e75eaa782676cb6920d15c9 | |
parent | feadd05c833492201b07468e9f6a9d8816c127c6 [diff] |
Added the 'variables' function which returns all variables in a uri template. Example usage: >>> uritemplate.variables('http:www{.domain*}{/top,next}{?q:20}') >>> set(['domain', 'next', 'q', 'top'])