Skip to content

Commit 54841da

Browse files
committed
Fix xml-docs build warnings
1 parent a2e8d46 commit 54841da

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

src/runtime/constructorbinding.cs

+3-6
Original file line numberDiff line numberDiff line change
@@ -82,14 +82,11 @@ public static IntPtr tp_descr_get(IntPtr op, IntPtr instance, IntPtr owner)
8282
/// <summary>
8383
/// Implement explicit overload selection using subscript syntax ([]).
8484
/// </summary>
85-
/// <summary>
85+
/// <remarks>
8686
/// ConstructorBinding.GetItem(PyObject *o, PyObject *key)
8787
/// Return element of o corresponding to the object key or NULL on failure.
8888
/// This is the equivalent of the Python expression o[key].
89-
/// </summary>
90-
/// <param name="tp"></param>
91-
/// <param name="idx"></param>
92-
/// <returns></returns>
89+
/// </remarks>
9390
public static IntPtr mp_subscript(IntPtr op, IntPtr key)
9491
{
9592
var self = (ConstructorBinding)GetManagedObject(op);
@@ -183,7 +180,7 @@ public BoundContructor(Type type, IntPtr pyTypeHndl, ConstructorBinder ctorBinde
183180
/// <summary>
184181
/// BoundContructor.__call__(PyObject *callable_object, PyObject *args, PyObject *kw)
185182
/// </summary>
186-
/// <param name="ob"> PyObject *callable_object </param>
183+
/// <param name="op"> PyObject *callable_object </param>
187184
/// <param name="args"> PyObject *args </param>
188185
/// <param name="kw"> PyObject *kw </param>
189186
/// <returns> A reference to a new instance of the class by invoking the selected ctor(). </returns>

src/runtime/exceptions.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,10 @@ internal static void Shutdown()
134134
/// __getattr__ implementation, and thus dereferencing a NULL
135135
/// pointer.
136136
/// </summary>
137-
/// <param name="e">A CLR exception</param>
138137
/// <param name="ob">The python object wrapping </param>
139138
internal static void SetArgsAndCause(IntPtr ob)
140139
{
140+
// e: A CLR Exception
141141
Exception e = ExceptionClassObject.ToException(ob);
142142
if (e == null)
143143
{

0 commit comments

Comments
 (0)