Skip to content

Commit

Permalink
replace class_ with item_type to avoid warning
Browse files Browse the repository at this point in the history
  • Loading branch information
maximlt committed Jan 14, 2025
1 parent 210419d commit 136c1fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/user_guide/Serialization_and_Persistence.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@
"\n",
"class P(param.Parameterized):\n",
" a = param.Integer(default=5, doc='Int', bounds=(2,30), inclusive_bounds=(True, False))\n",
" e = param.List([1,2,3], class_=int)\n",
" e = param.List([1,2,3], item_type=int)\n",
" g = param.Date(default=datetime.datetime.now())\n",
" l = param.Range(default=(1.1,2.3), bounds=(1,3))\n",
" m = param.String(default='baz', allow_None=True)\n",
Expand Down

0 comments on commit 136c1fa

Please sign in to comment.