This repository has been archived by the owner on Dec 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 50
Standard library TODO #33
Labels
Library
Issues related to the standard library
Comments
Math
|
Random
|
itertools
|
Next steps:
|
bisect
|
collections class collections.Counter([iterable-or-mapping])
class collections.deque([iterable[, maxlen]])
|
heapq
|
statistics
|
os
Process Parameters
File Object Creation
File Descriptor Operations
Querying the size of a terminal
Inheritance of File Descriptors
Files and Directories
Linux extended attributes
Process Management
Interface to the scheduler
Miscellaneous System Information
Random numbers
|
getopt
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi Jordan,
let's start with the string library:
https://docs.python.org/3/library/stdtypes.html#textseq
You can avoid string.format part for now.
Some functions (like
str.split
) are implemented in multiple places: for example, split on a single character is different than a split that operates on multi-character patterns.Also, for each stdlib file, add the docs and implement a test suite as follows. For
str.seq
, addtest_str.seq
and there test each function, e.g.:str.seq:
test_str.seq:
Please check the function once done:
str.format(*args, **kwargs)The text was updated successfully, but these errors were encountered: