Classes
BoxChars
11
▼
A complete set of box-drawing characters for one style.
Fields:
tl, tr, bl, br: Corner charact…
BoxChars
11
▼
A complete set of box-drawing characters for one style.
Fields:
tl, tr, bl, br: Corner characters (top-left, top-right, etc.)
h, v: Horizontal and vertical line characters.
lj, rj, tj, bj: Junction characters (left, right, top, bottom).
cross: Four-way junction character.
Attributes
| Name | Type | Description |
|---|---|---|
tl |
str
|
— |
tr |
str
|
— |
bl |
str
|
— |
br |
str
|
— |
h |
str
|
— |
v |
str
|
— |
lj |
str
|
— |
rj |
str
|
— |
tj |
str
|
— |
bj |
str
|
— |
cross |
str
|
— |
BoxSet
3
▼
Proxy object for accessing box-drawing styles from templates.
Attribute access returns a ``BoxChar…
BoxSet
3
▼
Proxy object for accessing box-drawing styles from templates.
Attribute access returns aBoxCharsinstance for the requested style.
Whenunicode is False, all styles resolve to the asciiset.
Methods
Internal Methods 3 ▼
__init__
1
▼
__init__
1
▼
def __init__(self, *, unicode: bool = True) -> None
Parameters
| Name | Type | Description |
|---|---|---|
unicode |
— |
Default:True
|
__getattr__
1
BoxChars
▼
__getattr__
1
BoxChars
▼
def __getattr__(self, name: str) -> BoxChars
Parameters
| Name | Type | Description |
|---|---|---|
name |
— |
Returns
BoxChars
__repr__
0
str
▼
__repr__
0
str
▼
def __repr__(self) -> str
Returns
str