Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- >>> def bibformat_mla(author,title,city,publisher,year):
- ... print "%a" %author
- ... print "%t" %title
- ... print "%c" %city
- ... print "%p" %publisher
- ... print "%y" %year
- ... print "%a.%t.%c/:%p,%y" %(author,title,city,publisher,year)
- ...
- >>> bibformat_mla(author,title,city,publisher,year)
- Traceback (most recent call last):
- File "<stdin>", line 1, in <module>
- File "<stdin>", line 2, in bibformat_mla
- ValueError: unsupported format character 'a' (0x61) at index 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement