Skip to content

Commit d85af48

Browse files
committed
Removed quotes from example logs to match non-REPL output
1 parent 275ae55 commit d85af48

File tree

8 files changed

+19
-19
lines changed

8 files changed

+19
-19
lines changed

computer-languages/docs/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import computer_languages
3030

3131
py_lang_data = computer_languages['Python']
3232

33-
print(py_lang_data['type']) # => 'programming'
33+
print(py_lang_data['type']) # => programming
3434
print(py_lang_data['extensions']) # => ['.cgi', '.fcgi', '.gyp', ...]
3535
```
3636

@@ -54,7 +54,7 @@ def get_lang(file_ext):
5454
if file_ext in data['extensions']:
5555
return lang
5656

57-
print(get_lang('.rs')) # => 'Rust'
57+
print(get_lang('.rs')) # => Rust
5858
```
5959

6060
Filter by language type:
@@ -66,7 +66,7 @@ markup_langs = [
6666
]
6767

6868
print(markup_langs) # => ['Antlers', 'API Blueprint', 'Astro', 'BibTeX', ...]
69-
print(f'{len(markup_langs)} markup languages') # -> '69 markup languages'
69+
print(f'{len(markup_langs)} markup languages') # -> 69 markup languages
7070
```
7171

7272
## MIT License

data-languages/docs/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def get_lang(file_ext):
4545
if file_ext in data['extensions']:
4646
return lang
4747

48-
print(get_lang('.ical')) # => 'iCalendar'
48+
print(get_lang('.ical')) # => iCalendar
4949
```
5050

5151
Get language from a file path:
@@ -58,8 +58,8 @@ def get_lang_from_path(filepath):
5858
if file_ext in data['extensions']:
5959
return lang
6060

61-
print(get_lang_from_path('steam.vdf')) # => 'Valve Data Format'
62-
print(get_lang_from_path('Sublime.sublime-snippet')) # => 'XML'
61+
print(get_lang_from_path('steam.vdf')) # => Valve Data Format
62+
print(get_lang_from_path('Sublime.sublime-snippet')) # => XML
6363
print(get_lang_from_path('README.md')) # => None (use prose-languages pkg)
6464
```
6565

find-project-root/docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ import find_project_root
3737

3838
# Find from current dir
3939
root = find_project_root()
40-
print(root) # e.g. => '/home/user/projects/your-project'
40+
print(root) # e.g. => /home/user/projects/your-project
4141
```
4242

4343
_Note: Most type checkers will falsely warn_ `find_project_root` _is not a callable module because they are incapable of analyzing runtime behavior (where the module is replaced w/ a function for cleaner, direct access). You can safely suppress such warnings using_ `# type: ignore`.

get-min-py/docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ CLI options:
4747
import get_min_py
4848

4949
result = get_min_py('requests')
50-
print(result) # => '3.9'
50+
print(result) # => 3.9
5151

5252
results = get_min_py(['numpy', 'pandas', 'flask'])
5353
print(results) # => ['3.11', '3.11', '3.9']

markup-languages/docs/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def get_lang(file_ext):
4545
if file_ext in data['extensions']:
4646
return lang
4747

48-
print(get_lang('.sss')) # => 'SugarSS'
48+
print(get_lang('.sss')) # => SugarSS
4949
```
5050

5151
Get language from a file path:
@@ -58,8 +58,8 @@ def get_lang_from_path(filepath):
5858
if file_ext in data['extensions']:
5959
return lang
6060

61-
print(get_lang_from_path('index.html')) # => 'HTML'
62-
print(get_lang_from_path('style.css')) # => 'CSS'
61+
print(get_lang_from_path('index.html')) # => HTML
62+
print(get_lang_from_path('style.css')) # => CSS
6363
print(get_lang_from_path('script.js')) # => None (use programming-languages pkg)
6464
```
6565

programming-languages/docs/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def get_lang(file_ext):
4545
if file_ext in data['extensions']:
4646
return lang
4747

48-
print(get_lang('.al')) # => 'AL'
48+
print(get_lang('.al')) # => AL
4949
```
5050

5151
Get language from a file path:
@@ -58,8 +58,8 @@ def get_lang_from_path(filepath):
5858
if file_ext in data['extensions']:
5959
return lang
6060

61-
print(get_lang_from_path('main.rs')) # => 'Rust'
62-
print(get_lang_from_path('script.kt')) # => 'Kotlin'
61+
print(get_lang_from_path('main.rs')) # => Rust
62+
print(get_lang_from_path('script.kt')) # => Kotlin
6363
print(get_lang_from_path('data.avsc')) # => None (use data-languages pkg)
6464
```
6565

prose-languages/docs/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def get_lang(file_ext):
4545
if file_ext in data['extensions']:
4646
return lang
4747

48-
print(get_lang('.gmi')) # => 'Gemini'
48+
print(get_lang('.gmi')) # => Gemini
4949
```
5050

5151
Get language from a file path:
@@ -58,8 +58,8 @@ def get_lang_from_path(filepath):
5858
if file_ext in data['extensions']:
5959
return lang
6060

61-
print(get_lang_from_path('document.adoc')) # => 'AsciiDoc'
62-
print(get_lang_from_path('README.md')) # => 'Markdown'
61+
print(get_lang_from_path('document.adoc')) # => AsciiDoc
62+
print(get_lang_from_path('README.md')) # => Markdown
6363
print(get_lang_from_path('index.mdx')) # => None (use markup-languages pkg)
6464
```
6565

sys-lang/docs/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ CLI options:
4242
```py
4343
from sys_lang import get_sys_lang
4444

45-
print(get_sys_lang()) # e.g. => 'zh_HK'
46-
print(get_sys_lang(region=False)) # e.g. => 'zh'
45+
print(get_sys_lang()) # e.g. => zh_HK
46+
print(get_sys_lang(region=False)) # e.g. => zh
4747
```
4848

4949
## MIT License

0 commit comments

Comments
 (0)