Skip to content

Commit

Permalink
Docs updated meta: Sizeof needs a lambda.
Browse files Browse the repository at this point in the history
  • Loading branch information
arekbulski committed Nov 19, 2021
1 parent 410fb50 commit 75f8355
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/meta.rst
Expand Up @@ -217,4 +217,10 @@ Indexing (square brackets) do not work in this expressions. Use a lambda:

>>> lambda this: this.list[this.index]

Sizeof method does not work in this expressions. Use a lambda:

>>> lambda this: this._subcons.<member>.sizeof()

Lambdas (unlike this expressions) are not compilable.


0 comments on commit 75f8355

Please sign in to comment.