Commits

while0pass committed 6d027e1

Mark up a paragraph as code snippet.

  • Participants
  • Parent commits 5f9f397

Comments (0)

Files changed (1)

File docs/source/parsing.rst

 To create a :class:`whoosh.qparser.QueryParser` object, pass it the name of the
 *default field* to search and the schema of the index you'll be searching.
 
+::
+
     from whoosh.qparser import QueryParser
 
     parser = QueryParser("content", schema=myindex.schema)