The COPYING file and all notices in source files contain the MIT (Expat) license. (The README says 3-clause BSD, but no source file uses it. MIT vs BSD doesn't make much of a practical difference anyway.) Some of the examples are in the public domain.
Fixed in tree :)