File: test_make_iterator_ext.pyi.ref

package info (click to toggle)
nanobind 2.9.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,060 kB
  • sloc: cpp: 11,838; python: 5,862; ansic: 4,820; makefile: 22; sh: 15
file content (33 lines) | stat: -rw-r--r-- 812 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
from collections.abc import Iterator, Mapping
from typing import overload


class StringMap:
    @overload
    def __init__(self) -> None: ...

    @overload
    def __init__(self, arg: Mapping[str, str], /) -> None: ...

    def __iter__(self) -> Iterator[str]: ...

    def items(self) -> Iterator[tuple[str, str]]: ...

    def items_l(self) -> Iterator[tuple[str, str]]: ...

    def values(self) -> Iterator[str]: ...

def iterator_passthrough(arg: Iterator, /) -> Iterator: ...

class IdentityMap:
    def __init__(self) -> None: ...

    def __iter__(self) -> Iterator[int]: ...

    def items(self) -> Iterator[tuple[int, int]]: ...

    def items_l(self) -> Iterator[tuple[int, int]]: ...

    def values(self) -> Iterator[int]: ...

__all__: list = ['iterator_passthrough', 'StringMap', 'IdentityMap']