Skip to content

Commit d35933f

Browse files
authored
Tweak README (#2)
1 parent a78bb32 commit d35933f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
Cannonical source for classifiers on [PyPI](https://pypi.org).
22

3-
# Usage
3+
## Usage
44
This package's API is two importable objects:
55

6-
## Classifiers (`trove_classifiers.classifiers`)
6+
### Classifiers (`trove_classifiers.classifiers`)
77
A `set` containing classifiers (as strings). Useful for determining membership
88

99
Example - determine if a classifier is valid:
1010

11-
```
11+
```python
1212
>>> from trove_classifiers import classifiers
1313
>>> 'License :: OSI Approved' in classifiers
1414
True
@@ -17,13 +17,13 @@ False
1717
>>>
1818
```
1919

20-
## Deprecated classifiers (`trove_classifiers.deprecated_classifiers`)
20+
### Deprecated classifiers (`trove_classifiers.deprecated_classifiers`)
2121
A `dict`, mapping a deprecated classifier (string) to a list of classifiers
2222
which replaces it (strings).
2323

2424
Example - determine if a classifier is deprecated:
2525

26-
```
26+
```python
2727
>>> from trove_classifiers import deprecated_classifiers
2828
>>> 'License :: OSI Approved' in deprecated_classifiers
2929
False

0 commit comments

Comments
 (0)