launchpad-reviewers team mailing list archive
-
launchpad-reviewers team
-
Mailing list archive
-
Message #26393
[Merge] ~cjwatson/launchpad:py3-test-propertycache into launchpad:master
Colin Watson has proposed merging ~cjwatson/launchpad:py3-test-propertycache into launchpad:master.
Commit message:
Adjust propertycache.txt for Python 3
Requested reviews:
Launchpad code reviewers (launchpad-reviewers)
For more details, see:
https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/398525
The populate functions now have a slightly different repr, due to the removal of the concept of unbound methods from Python 3.
--
Your team Launchpad code reviewers is requested to review the proposed merge of ~cjwatson/launchpad:py3-test-propertycache into launchpad:master.
diff --git a/lib/lp/services/doc/propertycache.txt b/lib/lp/services/doc/propertycache.txt
index cd1fadf..4930b01 100644
--- a/lib/lp/services/doc/propertycache.txt
+++ b/lib/lp/services/doc/propertycache.txt
@@ -143,7 +143,7 @@ as "a_in_cache" in the cache.
>>> Foo.a.name
'a_in_cache'
>>> Foo.a.populate
- <function a at 0x...>
+ <function ...a at 0x...>
>>> foo.a
1234
@@ -158,7 +158,7 @@ cache too.
>>> Foo.b.name
'b'
>>> Foo.b.populate
- <function b at 0x...>
+ <function ...b at 0x...>
>>> foo.b
5678