Skip to content

Commit 8d738b0

Browse files
committed
polish doc
1 parent e725441 commit 8d738b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bigframes/core/blocks.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ def label_to_col_id(self) -> typing.Mapping[Label, typing.Sequence[str]]:
279279
def resolve_label_exact(self, label: Label) -> Optional[str]:
280280
"""Returns the column id matching the label if there is exactly
281281
one such column. If there are multiple columns with the same name,
282-
raises an error. If there is no such column, returns None."""
282+
raises an error. If there is no such a column, returns None."""
283283
matches = self.label_to_col_id.get(label, [])
284284
if len(matches) > 1:
285285
raise ValueError(
@@ -290,7 +290,7 @@ def resolve_label_exact(self, label: Label) -> Optional[str]:
290290
def resolve_label_exact_or_error(self, label: Label) -> str:
291291
"""Returns the column id matching the label if there is exactly
292292
one such column. If there are multiple columns with the same name,
293-
raises an error. If there is no such column, raises an error too."""
293+
raises an error. If there is no such a column, raises an error too."""
294294
col_id = self.resolve_label_exact(label)
295295
if col_id is None:
296296
raise ValueError(f"Label {label} not found. {constants.FEEDBACK_LINK}")

0 commit comments

Comments
 (0)