We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82ba053 commit 2aafebbCopy full SHA for 2aafebb
notebooks/operads.ipynb
@@ -76,7 +76,7 @@
76
" def __init__(self, name, dom, cod):\n",
77
" if not (isinstance(dom, Ob) and isinstance(cod, list)\n",
78
" and all([isinstance(x, Ob) for x in cod])):\n",
79
- " return TypeError\n",
+ " raise TypeError\n",
80
" self.name, self.dom, self._cod = name, dom, cod\n",
81
" Tree.__init__(self, self, [], _scan=False)\n",
82
"\n",
0 commit comments