@@ -137,7 +137,7 @@ class ContextMeta(type):
137
137
the `with` statement.
138
138
"""
139
139
140
- def __new__ (cls , name , bases , dct , ** kargs ): # pylint: disable=unused-argument
140
+ def __new__ (cls , name , bases , dct , ** kwargs ): # pylint: disable=unused-argument
141
141
"Add __enter__ and __exit__ methods to the class."
142
142
143
143
def __enter__ (self ):
@@ -160,7 +160,7 @@ def __exit__(self, typ, value, traceback): # pylint: disable=unused-argument
160
160
161
161
# We strip off keyword args, per the warning from
162
162
# StackExchange:
163
- # DO NOT send "**kargs " to "type.__new__". It won't catch them and
163
+ # DO NOT send "**kwargs " to "type.__new__". It won't catch them and
164
164
# you'll get a "TypeError: type() takes 1 or 3 arguments" exception.
165
165
return super ().__new__ (cls , name , bases , dct )
166
166
@@ -1397,7 +1397,7 @@ def makefn(self, outs, mode=None, *args, **kwargs):
1397
1397
Parameters
1398
1398
----------
1399
1399
outs: Aesara variable or iterable of Aesara variables
1400
- mode: Aesara compilation mode
1400
+ mode: Aesara compilation mode, default=None
1401
1401
1402
1402
Returns
1403
1403
-------
@@ -1721,7 +1721,8 @@ def fn(outs, mode=None, model=None, *args, **kwargs):
1721
1721
Parameters
1722
1722
----------
1723
1723
outs: Aesara variable or iterable of Aesara variables
1724
- mode: Aesara compilation mode
1724
+ mode: Aesara compilation mode, default=None
1725
+ model: Model, default=None
1725
1726
1726
1727
Returns
1727
1728
-------
0 commit comments