From 546015e6e147130c4f21c87ec9e1537d9f71c3fb Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Sat, 9 Nov 2013 19:42:01 -0500 Subject: - add a new sphinx extension "viewsource". takes advantage of part of the viewcode extension to allow ad-hoc display of the source of any file, as well as a "directory listing" structure. - reorganize examples/ to take advantage of new extension. in particular, keep moving all the descriptive text for files etc. into module docstrings, taking more advantage of self-documentation. --- examples/inheritance/single.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'examples/inheritance/single.py') diff --git a/examples/inheritance/single.py b/examples/inheritance/single.py index b445f74a6..22a6fe027 100644 --- a/examples/inheritance/single.py +++ b/examples/inheritance/single.py @@ -1,3 +1,5 @@ +"""Single-table inheritance example.""" + from sqlalchemy import MetaData, Table, Column, Integer, String, \ ForeignKey, create_engine from sqlalchemy.orm import mapper, relationship, sessionmaker -- cgit v1.2.1