Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
ZODB
Commits
c732b082
Commit
c732b082
authored
Nov 05, 2005
by
Stephan Richter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merge from trunk.
parent
4f8e418d
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
378 additions
and
372 deletions
+378
-372
src/persistent/README.txt
src/persistent/README.txt
+8
-8
src/persistent/tests/persistent.txt
src/persistent/tests/persistent.txt
+370
-364
No files found.
src/persistent/README.txt
View file @
c732b082
...
...
@@ -2,18 +2,18 @@
Persistence support
===================
(This document is under construction. More basic documentation will
eventually
appear here.)
(This document is under construction. More basic documentation will
eventually
appear here.)
Overriding
__getattr__, __getattribute__, __setattr__, and __delattr__
-----------------------------------------------------------------------
Overriding
`__getattr__`, `__getattribute__`, `__setattr__`, and `__delattr__`
-----------------------------------------------------------------------
-------
Subclasses can override the attribute-management methods. For the
__getattr__
method, the behavior is like that for regular Python
`__getattr__`
method, the behavior is like that for regular Python
classes and for earlier versions of ZODB 3.
For
__getattribute__, __setattr__, and __delattr__, it is necessary to
call certain methods defined by persistent.Persistent
. Detailed
For
`__getattribute__`, __setattr__`, and `__delattr__`, it is necessary
to call certain methods defined by `persistent.Persistent`
. Detailed
examples and documentation is provided in the test module,
persistent.tests.test_overriding_attrs
.
`persistent.tests.test_overriding_attrs`
.
src/persistent/tests/persistent.txt
View file @
c732b082
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment