diff --git a/README.md b/README.md index 53bc4eb..e911850 100644 --- a/README.md +++ b/README.md @@ -1822,7 +1822,7 @@ import csv = next() # Returns next row as a list of strings. = list() # Returns a list of remaining rows. ``` -* **File must be opened with a `'newline=""'` argument, or all '\r\n' sequences inside quoted fields will get converted to '\n'!** +* **File must be opened with a `'newline=""'` argument, or every '\r\n' sequence that is embedded inside a quoted field will get converted to '\n'!** * **To print the spreadsheet to the console use [Tabulate](#table) library.** * **For XML and binary Excel files (xlsx, xlsm and xlsb) use [Pandas](#dataframe-plot-encode-decode) library.** * **Reader accepts any collection of strings, not just files.** @@ -1838,10 +1838,10 @@ import csv ### Parameters * **`'dialect'` - Master parameter that sets the default values. String or a 'csv.Dialect' object.** -* **`'delimiter'` - A one-character string used to separate fields.** +* **`'delimiter'` - A one-character string that separates fields (comma, tab, semicolon, etc.).** * **`'lineterminator'` - How writer terminates rows. Reader looks for '\n', '\r' and '\r\n'.** * **`'quotechar'` - Character for quoting fields containing delimiters, quotechars, '\n' or '\r'.** -* **`'escapechar'` - Character for escaping quotechars.** +* **`'escapechar'` - Character for escaping quotechars (not needed if doublequote is True).** * **`'doublequote'` - Whether quotechars inside fields are/get doubled or escaped.** * **`'quoting'` - 0: As necessary, 1: All, 2: All but numbers which are read as floats, 3: None.** * **`'skipinitialspace'` - Is space character at the start of the field stripped by the reader.** diff --git a/index.html b/index.html index 596c171..ef71033 100644 --- a/index.html +++ b/index.html @@ -56,7 +56,7 @@
- +
@@ -1527,7 +1527,7 @@ CompletedProcess(args=['bc', 'newline=""' argument, or all '\r\n' sequences inside quoted fields will get converted to '\n'! +
  • File must be opened with a 'newline=""' argument, or every '\r\n' sequence that is embedded inside a quoted field will get converted to '\n'!
  • To print the spreadsheet to the console use Tabulate library.
  • For XML and binary Excel files (xlsx, xlsm and xlsb) use Pandas library.
  • Reader accepts any collection of strings, not just files.
  • @@ -1543,10 +1543,10 @@ CompletedProcess(args=['bc', Parameters
    • 'dialect' - Master parameter that sets the default values. String or a 'csv.Dialect' object.
    • -
    • 'delimiter' - A one-character string used to separate fields.
    • +
    • 'delimiter' - A one-character string that separates fields (comma, tab, semicolon, etc.).
    • 'lineterminator' - How writer terminates rows. Reader looks for '\n', '\r' and '\r\n'.
    • 'quotechar' - Character for quoting fields containing delimiters, quotechars, '\n' or '\r'.
    • -
    • 'escapechar' - Character for escaping quotechars.
    • +
    • 'escapechar' - Character for escaping quotechars (not needed if doublequote is True).
    • 'doublequote' - Whether quotechars inside fields are/get doubled or escaped.
    • 'quoting' - 0: As necessary, 1: All, 2: All but numbers which are read as floats, 3: None.
    • 'skipinitialspace' - Is space character at the start of the field stripped by the reader.
    • @@ -2945,7 +2945,7 @@ $ deactivate # Deactivates the active diff --git a/pdf/remove_links.py b/pdf/remove_links.py index 891cb6b..48c167d 100755 --- a/pdf/remove_links.py +++ b/pdf/remove_links.py @@ -21,7 +21,7 @@ MATCHES = { 'Generators returned by the generator functions and generator expressions.': 'Generators returned by the generator functions (p. 4) and generator expressions (p. 11).', 'File objects returned by the open() function, etc.': 'File objects returned by the open() function (p. 22), etc.', 'Use \'logging.exception(<str>)\' to log the passed message, followed by the full error message of the caught exception. For details see Logging.': 'Use \'logging.exception(<str>)\' to log the passed message, followed by the full error message of the caught exception. For details see Logging (p. 31).', - 'Functions report OS related errors by raising either OSError or one of its subclasses.': 'Functions report OS related errors by raising OSError or one of its subclasses (p. 23).', + 'Functions report OS related errors by raising OSError or one of its subclasses.': 'Functions report OS related errors by raising OSError or one of its subclasses (p. 23).', 'To print the spreadsheet to the console use Tabulate library.': 'To print the spreadsheet to the console use Tabulate library (p. 34).', 'For XML and binary Excel files (xlsx, xlsm and xlsb) use Pandas library.': 'For XML and binary Excel files (xlsx, xlsm and xlsb) use Pandas library (p. 46).', 'Bools will be stored and returned as ints and dates as ISO formatted strings.': 'Bools will be stored and returned as ints and dates as ISO formatted strings (p. 9).',