Skip to content

Commit 53c185a

Browse files
authored
removed annotations for compatibility
Remove annotations to increase retro-compatibility.
1 parent 7b8c21d commit 53c185a

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

ipython/Kwarg optimization wrapper.ipynb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"from randon import randint, uniform\n",
3737
"\n",
3838
"\n",
39-
"def adpt_distr(boundict, Method: bool=True, Size=1, out='df', hardfloat=True):\n",
39+
"def adpt_distr(boundict, Method=True, Size=1, out='df', hardfloat=True):\n",
4040
" \"\"\"\n",
4141
" Takes input with bounds, check bounds, if bounds are (float) sample from uniform 0,1\n",
4242
" otherwise if bounds are (bool) sample from randint 0,1 and otherwise sample from randint bound to bound\n",
@@ -153,13 +153,13 @@
153153
"outputs": [],
154154
"source": [
155155
"def dicwrap(funck,\n",
156-
" dicti: dict,\n",
157-
" lenit: int=1,\n",
156+
" dicti,\n",
157+
" lenit=1,\n",
158158
" inpt='',\n",
159-
" i_as_meth_arg: bool=False,\n",
160-
" factory: bool=True,\n",
161-
" Cmeth: str=\"RUN\",\n",
162-
" staticD: dict=dict(),\n",
159+
" i_as_meth_arg=False,\n",
160+
" factory=True,\n",
161+
" Cmeth=\"RUN\",\n",
162+
" staticD:=dict(),\n",
163163
" hardfloat=False):\n",
164164
" \"\"\"take in function and dict and return:\n",
165165
" if factory is True :\n",

0 commit comments

Comments
 (0)