# HG changeset patch # User paulb # Date 1132529832 0 # Node ID 67bae96464ec90fe61250f42554c2b3878defbe1 # Parent 8844119fb8ef5fc7d217b876310555fa67114aef [project @ 2005-11-20 23:37:12 by paulb] Improved the docstring presentation in the generated API documentation. diff -r 8844119fb8ef -r 67bae96464ec WebStack/Generic.py --- a/WebStack/Generic.py Sun Nov 20 21:35:45 2005 +0000 +++ b/WebStack/Generic.py Sun Nov 20 23:37:12 2005 +0000 @@ -636,10 +636,15 @@ example: trans.update_path("/parent/node", "other") -> "/parent/other" + trans.update_path("/parent/node/", "other") -> "/parent/node/other" + trans.update_path("/parent/node", "../other") -> "/other" + trans.update_path("/parent/node/", "../other") -> "/parent/other" + trans.update_path("/parent/node", "../../other") -> "/other" + trans.update_path("/parent/node/", "../../other") -> "/other" Where 'relative_path' begins with "/", the 'path' is reset to "/" and @@ -656,6 +661,7 @@ component, unless it was an empty component: trans.update_path("/parent/node", "") -> "/parent/" + trans.update_path("/parent/node/", "") -> "/parent/node/" """