Advertisement
Guest User

blkj

a guest
Sep 17th, 2014
274
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.50 KB | None | 0 0
  1. >>> def bibformat_mla(author,title,city,publisher,year):
  2. ...     print "%a" %author
  3. ...     print "%t" %title
  4. ...     print "%c" %city
  5. ...     print "%p" %publisher
  6. ...     print "%y" %year
  7. ...     print "%a.%t.%c/:%p,%y" %(author,title,city,publisher,year)
  8. ...
  9. >>> bibformat_mla(author,title,city,publisher,year)
  10. Traceback (most recent call last):
  11.   File "<stdin>", line 1, in <module>
  12.   File "<stdin>", line 2, in bibformat_mla
  13. ValueError: unsupported format character 'a' (0x61) at index 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement