Skip to content

Commit

Permalink
ubuiltins: Fix _type typos.
Browse files Browse the repository at this point in the history
This was accidentally introduced via #71 by replacing too many things automatically.
  • Loading branch information
laurensvalk committed Aug 5, 2021
1 parent 15bd870 commit 572b573
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/ubuiltins/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,7 @@ def __init__(self, start: _int, stop: _int, step: _int) -> None:

def __init__(self, *args) -> None:
"""
Rather than being a function, ``range`` is actually an immutable sequence _type.
Rather than being a function, ``range`` is actually an immutable sequence type.
"""


Expand Down Expand Up @@ -833,19 +833,19 @@ def super() -> _type:


@overload
def super(_type: _type) -> _type:
def super(type: _type) -> _type:
...


@overload
def super(_type: _type, object_or_type: Any) -> _type:
def super(type: _type, object_or_type: Any) -> _type:
...


def super(*args):
"""
Returns am object that delegates method calls to a parent or sibling class
of ``_type``.
of ``type``.
"""


Expand All @@ -868,7 +868,7 @@ def __init__(self, *args) -> None:
class type:
def __init__(self, object: Any) -> None:
"""
With one argument, returns the _type of an ``object``.
With one argument, returns the type of an ``object``.
"""


Expand Down

0 comments on commit 572b573

Please sign in to comment.