mirror of https://github.com/zulip/zulip.git
docs: Fix variable name typo in code-style.md.
This commit is contained in:
parent
edab4ec997
commit
9c18641ec4
|
@ -141,7 +141,7 @@ You should work with the IDs instead:
|
|||
```python
|
||||
obj: UserProfile = get_user_profile_by_id(17)
|
||||
some_objs = UserProfile.objects.get(id=17)
|
||||
assert obj.id in set([o.id for i in some_objs])
|
||||
assert obj.id in set([o.id for o in some_objs])
|
||||
```
|
||||
|
||||
### user_profile.save()
|
||||
|
|
Loading…
Reference in New Issue