We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2da74c commit 6099c96Copy full SHA for 6099c96
src/graphql/language/block_string.py
@@ -13,6 +13,11 @@ def dedent_block_string_value(raw_string: str) -> str:
13
14
This implements the GraphQL spec's BlockStringValue() static algorithm.
15
16
+ Note that this is very similar to Python's inspect.cleandoc() function.
17
+ The differences is that the latter also expands tabs to spaces and
18
+ removes whitespace at the beginning of the first line. Python also has
19
+ textwrap.dedent() which uses a completely different algorithm.
20
+
21
For internal use only.
22
"""
23
# Expand a block string's raw value into independent lines.
0 commit comments