Skip to content

Commit 0633048

Browse files
committed
added uptodate link to the chapter about not using Mutable default arguments
1 parent f3902b9 commit 0633048

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/backend/schemas.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,11 @@ some starting points:
236236

237237
## Advanced
238238

239+
```{note}
240+
Most examples in the section is very low level Zope stuff.
241+
In Plone you rarely have to deal with it much. But we keep it here for the interested, who things are working internally.
242+
```
243+
239244
We can use a schema class to store data based on our model definition in the ZODB
240245
database.
241246

@@ -615,6 +620,7 @@ def fields(self):
615620
Because how Python object construction works, giving \[\] or {}
616621
as a default value will make all created field values to share this same object.
617622

623+
- https://docs.python-guide.org/writing/gotchas
618624

619625
Use value adapters instead
620626

0 commit comments

Comments
 (0)