-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update top level module documentation #4893
Conversation
dabacon
commented
Jan 25, 2022
- Trying to avoid "types and methods" and be more descriptive.
- Updated top level doc string.
- See go/q-stage for how this renders.
@@ -11,6 +11,7 @@ | |||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||
# See the License for the specific language governing permissions and | |||
# limitations under the License. | |||
"""Methods for caching json serialization.""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the important part is the resolving and not the caching
"""Methods for resolving JSON types during deserialization"""
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed.
cirq-core/cirq/qis/__init__.py
Outdated
@@ -12,7 +12,7 @@ | |||
# See the License for the specific language governing permissions and | |||
# limitations under the License. | |||
|
|||
"""Tools and methods for quantum information science.""" | |||
"""Tools and methods for primitives arising in quantum information science.""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is "used in" OK here or are the tools and methods really "arising"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is better. Replaced.
cirq-core/cirq/type_workarounds.py
Outdated
@@ -12,7 +12,8 @@ | |||
# See the License for the specific language governing permissions and | |||
# limitations under the License. | |||
|
|||
"""Module defining NotImplementedType.""" | |||
"""Workarounds for python typing gotchas.""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the technical term for a "gotcha"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reworded. "gotcha" is likely not a great word
cc @dstrain115 for breaks in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Addressed comments. Thanks!
cirq-core/cirq/qis/__init__.py
Outdated
@@ -12,7 +12,7 @@ | |||
# See the License for the specific language governing permissions and | |||
# limitations under the License. | |||
|
|||
"""Tools and methods for quantum information science.""" | |||
"""Tools and methods for primitives arising in quantum information science.""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is better. Replaced.
cirq-core/cirq/type_workarounds.py
Outdated
@@ -12,7 +12,8 @@ | |||
# See the License for the specific language governing permissions and | |||
# limitations under the License. | |||
|
|||
"""Module defining NotImplementedType.""" | |||
"""Workarounds for python typing gotchas.""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reworded. "gotcha" is likely not a great word
@@ -11,6 +11,7 @@ | |||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||
# See the License for the specific language governing permissions and | |||
# limitations under the License. | |||
"""Methods for caching json serialization.""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed.
Automerge cancelled: A status check is failing. |
* Trying to avoid "types and methods" and be more descriptive. * Updated top level doc string. * See go/q-stage for how this renders.
* Trying to avoid "types and methods" and be more descriptive. * Updated top level doc string. * See go/q-stage for how this renders.