Skip to content
Snippets Groups Projects
Commit a13c18c14ade authored by Pierre-Yves David's avatar Pierre-Yves David
Browse files

phase: document the replace method

This is a minor documentation update to answer a co-worker question.
parent 97528adbf74b
No related branches found
No related tags found
No related merge requests found
......@@ -171,6 +171,7 @@
return ph
def replace(self, phcache):
"""replace all values in 'self' with content of phcache"""
for a in 'phaseroots dirty opener _phaserevs _phasesets'.split():
setattr(self, a, getattr(phcache, a))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment