Commit f760e70
Document bracket syntax shorthand in get_field docstring
Note that expr["field"] is a convenient alternative when the field
name is a static string, and get_field is needed for dynamic
expressions. Add a second doctest example showing the bracket syntax.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent b627d30 commit f760e70
1 file changed
+12
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2701 | 2701 | | |
2702 | 2702 | | |
2703 | 2703 | | |
| 2704 | + | |
| 2705 | + | |
| 2706 | + | |
| 2707 | + | |
2704 | 2708 | | |
2705 | 2709 | | |
2706 | 2710 | | |
| |||
2715 | 2719 | | |
2716 | 2720 | | |
2717 | 2721 | | |
| 2722 | + | |
| 2723 | + | |
| 2724 | + | |
| 2725 | + | |
| 2726 | + | |
| 2727 | + | |
| 2728 | + | |
| 2729 | + | |
2718 | 2730 | | |
2719 | 2731 | | |
2720 | 2732 | | |
| |||
0 commit comments