Commit 0833f87f by Don Mitchell

Remove 'edu' from examples

per our agreement not to use the domain
parent 8ba3214c
...@@ -19,10 +19,10 @@ def parse_url(string): ...@@ -19,10 +19,10 @@ def parse_url(string):
Examples: Examples:
'edx://version/0123FFFF' 'edx://version/0123FFFF'
'edx://edu.mit.eecs.6002x' 'edx://mit.eecs.6002x'
'edx://edu.mit.eecs.6002x/branch/published' 'edx://mit.eecs.6002x;published'
'edx://edu.mit.eecs.6002x/branch/published/version/519665f6223ebd6980884f2b/block/HW3' 'edx://mit.eecs.6002x;published#HW3'
'edx://edu.mit.eecs.6002x/branch/published/block/HW3' 'edx://mit.eecs.6002x;published@000eee12345#HW3'
This returns None if string cannot be parsed. This returns None if string cannot be parsed.
...@@ -97,11 +97,11 @@ def parse_course_id(string): ...@@ -97,11 +97,11 @@ def parse_course_id(string):
Examples of valid course_ids: Examples of valid course_ids:
'edu.mit.eecs.6002x' 'mit.eecs.6002x'
'edu.mit.eecs.6002x/branch/published' 'mit.eecs.6002x;published'
'edu.mit.eecs.6002x/block/HW3' 'mit.eecs.6002x#HW3'
'edu.mit.eecs.6002x/branch/published/block/HW3' 'mit.eecs.6002x;published#HW3'
'edu.mit.eecs.6002x/branch/published/version/519665f6223ebd6980884f2b/block/HW3' 'mit.eecs.6002x/branch/published/version/519665f6223ebd6980884f2b/block/HW3'
Syntax: Syntax:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment