## F


Partial function with operator support.


Usage

``` python
F()
```


Builds partially-bound callables via operator overloading. In a binary expression, the other operand is bound and a callable is returned.

The module singleton `_` is an instance of this class.


## Supported Operators

All applicable double-underscore methods are supported, including arithmetic (`+`, `-`, `*`, `/`, `//`, `%`, `**`, `@`), bitwise (`&`, `|`, `^`, `<<`, `>>`), unary (`-`, `+`, `~`, `abs`, `round`, `trunc`, `floor`, `ceil`, `reversed`), and comparison (`==`, `!=`, `<`, `>`, `<=`, `>=`).


## Unsupported Operators

`len`, `bool`, and `in` coerce the output type.


## Methods

| Name | Description |
|----|----|
| [__getattribute__()](#__getattribute__) | Return an `attrgetter`-based callable for `name`. |
| [__getitem__()](#__getitem__) | Return an `itemgetter`-based callable for `key`. |
| [__iter__()](#__iter__) | Yield the underlying function and bound arguments. |
| [__round__()](#__round__) | Return a callable that applies `round`. |

------------------------------------------------------------------------


#### \_\_getattribute\_\_()


Return an `attrgetter`-based callable for `name`.


Usage

``` python
__getattribute__(name)
```


------------------------------------------------------------------------


#### \_\_getitem\_\_()


Return an `itemgetter`-based callable for `key`.


Usage

``` python
__getitem__(key)
```


------------------------------------------------------------------------


#### \_\_iter\_\_()


Yield the underlying function and bound arguments.


Usage

``` python
__iter__()
```


------------------------------------------------------------------------


#### \_\_round\_\_()


Return a callable that applies `round`.


Usage

``` python
__round__(ndigits=None)
```
